I want to get, given a character, its ASCII
value.
For example, for the character a
, I want to get 97
, and vice versa.
I want to get, given a character, its ASCII
value.
For example, for the character a
, I want to get 97
, and vice versa.
ord and chr
Use
chr()
andord()
: