ord() function in Python return the ASCII value of any character Example:print(ord('A')) // 65
Example:
print(ord('A')) // 65