Python Program To Generate Pattern 54
Write Python Program To Generate Pattern 54
# Write Python Program To Generate Pattern 54 n = 3 i = 1 while(i <= n): j = n while(j >= i): print(j, end = ' ') j = j - 1 print('') i = i + 1
Output:
3 2 1
3 2
3