+ 2

Can you pls print the pattern using one loop

4444 333 22 1

8th Oct 2020, 2:17 PM
Oishika Dey
Oishika Dey - avatar
3 Réponses
+ 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)
8th Oct 2020, 2:23 PM
Ruba Kh
Ruba Kh - avatar
+ 1
Thanks guys for helping me out
8th Oct 2020, 5:04 PM
Oishika Dey
Oishika Dey - avatar