Python program to display ASCII value of the character

Python program to display ASCII value of the character

The full form of ASCII is American Standard Code for Information Interchange. This example explains a program in Python to find the ASCII value of any input character. ASCII is a character encoding standard that specifies a numerical value for all characters and symbols used in computers.

We can convert the ASCII value of any character by using an inbuilt function ord(). This function converts the given character and returns an integer representing the Unicode code of the character. For example, ord(‘b’) returns the integer 98.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store