How to encode and decode backward letter using ascii | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to encode and decode backward letter using ascii

3rd Nov 2020, 7:29 PM
khààlid Mohamud
khààlid Mohamud - avatar
2 Answers
+ 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