write a nested for loop that prints the following output 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()