zagnieżdżony do pętli 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