python program to find ascii value of character

33

# Program to find the ASCII value of the given character

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

Comments

Submit
0 Comments