By: Editorial Staff | Last Updated:
We are going to share a Python program to find ASCII value of character. If you are a python beginner and want to start learning the python programming, then keep your close attention in this tutorial as I am going to share a Python program to find ASCII value of character.
#you can change this value to see the result of character
c = 'A'
#c = input("Enter a character: ")
print("The ASCII value of '" + c + "' is",ord(c))
The ASCII value of ‘A’ is 65
To increase your Python knowledge, practice all Python programs, here is a collection of 100+ Python problems with solutions.
Editorial Staff at FreeWebMentor is a team of professional developers leads by Prem Tiwari View all posts by Editorial Staff