Printing ASCII : chr « Buildin Function « Python





Printing ASCII

i = 0
while i < 256:
    print chr(i),
    if i != 0 and i % 8 == 0 :
        print
    i = i + 1

           
       

Related examples in the same category