get decimal value of char python

Solutions on MaxInterview for get decimal value of char python by the best coders in the world

showing results for - "get decimal value of char python"
Valentín
10 Jul 2018
1>>> ord('a')
297
3>>> chr(98)
4'b'
5
Dante
13 Jan 2017
1If a character can be used to form a number in base 10, then it's considered as decimal character.