aninhado para a mesa de loop python

user_input = int(input("Enter table shape"))
for i in range(user_input):
    for j in range(user_input):
        k = i + j
        print(k, end = "  ")
    print()
Troubled Turkey