nested for loop table python code example
Example: nested for loop table 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()
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()