Program to find the ASCII value of character
# Change this value for a different character result c = 'K' print("The ASCII value of '" + c + "' is",ord(c))
Output:-
Program to find the ASCII value of character
# Change this value for a different character result c = 'K' print("The ASCII value of '" + c + "' is",ord(c))
Output:-