write a program to print numbers from 1 to n in each row forming a rectangular pattern of m rows and n columns using numbers
n = int(input('n= ')) for i in range(n): for i in range(n): print(i+1, end=' ') print()
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment