Find ASCII Value of Character Python

PROGRAM TO FIND ASCII VALUE OF CHARACTER


c = 'p'
print("The ASCII value of '" + c + "' is", ord(c))

OUTPUT
The ASCII value of 'p' is 112




Comments

Popular posts from this blog

Special Keyboard Java

Find Duplicates Java

Find first non-repeating character Python