solutions

Nested Pyramid

Write a function nested_pyramid() that, using nested for loops, creates a string pyramid like the one shown below:

*
**
***
****
*****

Test Cases

tests

[]