+ 2
Can you pls print the pattern using one loop
4444 333 22 1
3 Antworten
+ 4
Here you go, although you should share your attempt next time
n = int(input())
for i in range(n,0,-1):
print(str(i)*i)
+ 1
Thanks guys for helping me out
4444 333 22 1