Write a Python program to Get the ASCII value of a character
I have used python 3.7 compiler for debugging purpose.
print() print(ord('b')) print(ord('A')) print(ord('2')) print(ord('#')) print()
Result:
98
65
50
35
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
I have used python 3.7 compiler for debugging purpose.
Result:
98
65
50
35
need an explanation for this answer? contact us directly to get an explanation for this answer