python program to find ascii value of character

25

# 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