0
Convert an ASCII value into a charcter
I want to convert an ASCII value in to a character. In phyton 2.7 i use chr("number"), but it dont work for the code playground in solo learn. What should I do?
3 Antworten
+ 4
Make sure you are applying chr() to an int and not a string. It definitely works on SoloLearn.
See:
https://code.sololearn.com/cp0WjJ8fRVcJ/?ref=app
+ 2
are you sure??
print( chr(65) ) # 65 ASCII -> 'A'
+ 1
thank you for your answers! now i found my error