How to encode and decode backward letter using ascii | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to encode and decode backward letter using ascii

3rd Nov 2020, 7:29 PM
khĆ Ć lid Mohamud
khĆ Ć lid Mohamud - avatar
2 Respostas
+ 10
khĆ Ć lid Mohamud , it is not quite clear what you are asking for. Please provide us a sample with input data and how your output should look like. Thanks!
3rd Nov 2020, 7:48 PM
Lothar
Lothar - avatar
+ 3
Do you mean between a character and its code number? chr for int to char ord for char to int Python uses UTF8, not ascii. But for letters, numbers and common symbols it is the same
3rd Nov 2020, 8:40 PM
Benjamin JĆ¼rgens
Benjamin JĆ¼rgens - avatar