сделай выдачу ascii символов виде таблицы def print_ascii_with_offset(offset): for i in range(offset, 1296): if chr(i).isprintable(): print(f"{i} : {chr(i)}") in python

main.py
def print_ascii_with_offset(offset):
    print("ASCII Table:")
    print("--------------")
    for i in range(offset, min(offset+100, 1296)):  
        if chr(i).isprintable(): 
            print(f"{i} : {chr(i)}", end="\t")
            if (i - offset + 1) % 5 == 0:
                print("\n")    
299 chars
9 lines

related categories

gistlibby LogSnag