Find the ASCII value of a given character

Find the ASCII value of a given character



c = input ("enter a character: ")
print("the ASCII value of  ' " + c + " ' is" ,ord(c))

Comments