ord function gets the index of a character : ord « Buildin Function « Python Tutorial






print ord('a')
print ord('A')
print ord('0')
13.36.ord
13.36.1.ord function gets the index of a character