Ad
Tables
Data Structures

So basically turn an integer into a table of all the numbers from zero to that number

def int_to_table(num):
    tab = []
    for x in range(num + 1):
        tab.append(x)
    print(tab)
    return tab