Learn
Practice
Newsletter
Resources
Mobile
New
F
Toggle theme
0
F
0
Toggle menu
Animations
← Back to All Animations
Inverted Pyramid
Bookmark
Input
n = 4
n = 5
n = 3
Custom
n
=
4
*
*
i
*
*
*
*
*
*
i
*
*
*
*
*
*
*
i
*
*
*
*
*
*
*
*
*
*
i
*
*
*
*
*
*
*
*
*
*
*
*
i
*
*
*
*
*
*
*
*
*
*
*
*
*
i
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
i
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
·
i
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
algo
master
.
io
Step:
Start: print an inverted pyramid with 4 rows.
0 / 31
Input
n = 4
n = 5
n = 3
Custom
n
=
4
0 / 31
algo
master
.
io
Step:
Start: print an inverted pyramid with 4 rows.