0

Please check my coding for executing pattern programming and tell me my mistake and explain it:

4321 432 43 4 row = 4 while (row>=1): col=4 while (col>= 1): print (col, end=" ") col = col-1 row=row-1 print ()

4th Sep 2019, 3:32 AM
Yash Garg
Yash Garg - avatar
3 Respuestas
0
num = 4 while num >= 0: for i in range(num,0,-1): print(i,end='') print() num = num - 1
4th Sep 2019, 4:30 AM
James
James - avatar
0
https://code.sololearn.com/c65V6H9weliQ/?ref=app Check this Some corrections in Your logic row = 1 while (row<=4): col=4 while (col>= row): print (col, end=" ") col = col-1 row=row+1 print ()
4th Sep 2019, 4:34 AM
Sgk101
Sgk101 - avatar