# Program to find the ASCII value of the given character
c = 'p'
print("The ASCII value of '" + c + "' is", ord(c))
asciiValue=ord(stringCharacter)
#example
asciiValue=ord('A')
#in this example asciiValue equals 64
>>> chr(104)
'h'
>>> chr(97)
'a'
>>> chr(94)
'^'
>>> ord('h')
104
>>> ord('a')
97
>>> ord('^')
94
# ASCII stands for American Standard Code for Information Interchange.
# It is a numeric value given to different characters and symbols,
# for computers to store and manipulate.
# Use - ord() function to find this value.
print(ord("A"))
# output: 65
# Keep in mind that capital and simple of the same letter have different values.
print(ord("a"))
# output: 97