My 12 year old is starting to learn Python. He is trying to write a rows and columns using 2 for loops. This is the code he wrote so far.
for rows in range(1, 6, 1):
print('something')
for col in range(1, 6, 1):
print(str(col))
The desired output is as follows:
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5