5 Respuestas
+ 5
u can get it using function named as ord():-
>>> ord('h')
104
>>> ord('a')
97
>>> ord('^')
94
+ 4
chr(number)
+ 2
Check this out :
https://code.sololearn.com/cGh63mKrL4iT/?ref=app
0
Char to number ord(ch)
Number to char ch(num)