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))

14th Feb 2018, 7:40 PM
Alihuseyn Kengerli
Alihuseyn Kengerli - avatar
4 ответов
+ 4
15th Feb 2018, 5:14 AM
Paul
Paul - avatar
+ 4
#1 - 31 does not print. 128-159 raises errors. for a in range(1,255): try: print(a," = ",chr(a)) except: print('ERROR')
15th Feb 2018, 3:58 AM
Louis
Louis - avatar
14th Feb 2018, 8:35 PM
davy hermans
davy hermans - avatar
+ 2
Your variable 'a' does not increase
14th Feb 2018, 8:28 PM
Julián González Calderón
Julián González Calderón - avatar