Python Program to Find ASCII Value of Character

Words
0
Reading
0 min
Listen
Play
7y
# Program to find the ASCII value of the given character

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