ASCII is stand for American Standard Code for Information Interchange. It is a character encoding standard for electronic communication. ASCII codes represent text in computers and other devices. In ASCII, a specific numerical value in given to different characters and symbols, for computer to store and manipulate.
Same character having deferent format upper case and lower case has different value. i.e. The ASCII value of “A” is 65 and the ASCII value of “a” is 97.
c = input("Enter a character") print("The ASCII value of" +c+,"is", ord(c))