LearnPy Hub
← Introduction & print() problems
Medium

Right-Angled Triangle

Read n and print a right-angled triangle of stars: line i has i stars, for i = 1 to n.

Input

One integer n ≥ 1.

Output

n lines.

Sample 1

Input
4
Output
*
**
***
****

Sample 2

Input
1
Output
*
solution.py
Output appears here
Right-Angled Triangle · Python practice problem · LearnPy Hub