Home >>Python Programs >Python Program To Find ASCII value of a character
In this example, we will see a Python program to find the ASCII value of any given input character. The ASCII stands for American Standard Code for Information Interchange. ASCII is a specific numerical value given to different characters and symbols for computers to store and manipulate.
Example :
c = input("Enter a character: ")
print("The ASCII value of '" + c + "' is",ord(c))
Output:
Enter a character: !
The ASCII value of '!' is 33