0
Please help me in Python.
How to print all Ascii symbols? I have tried it, but it doesn't work. a = 0 for i in range(1, 256): print(chr(a))
4 Antworten
+ 4
I made this code in the past:
https://code.sololearn.com/cJoNjgaKka10/?ref=app
+ 4
#1 - 31 does not print. 128-159 raises errors.
for a in range(1,255):
try:
print(a," = ",chr(a))
except:
print('ERROR')
+ 2
Your variable 'a' does not increase