Source Code:
(back to article)
# Get the ASCII value of a character char = 'A' ascii_value = ord(char) print(ascii_value) # Output: 65
Result:
Report an issue