GUVI
Back

multiplication pattern

Created 3 years ago
165 Views
2 Comments
TeressaAlphonsaDominic
@TeressaAlphonsaDominic
TeressaAlphonsaDominic
@TeressaAlphonsaDominicProfile is locked. Login

can you tell me the error in the program

n=int(input())

m=1

for i in range (1,n+1):

for j in range (1,i+1):

print(j*m,end=' ')

m +=1

print(" ")

Comments (2)
Please login to comment.
 
Powered by habitate.io Habitate