Right triangle

EasyBasics

Draw a right triangle of n lines with stars: the first line has one *, the second two, and so on until the last line has n.

Input

One line with n.

Output

n lines of stars, with no spaces between them.

Constraints

  • 1 ≤ n ≤ 50

The input is read for you. The starter code puts it in variables; write your code under Your code here and print the answer. Changed the code already? Reset () brings the starter back.

Example 1

Input
3
Output
*
**
***
Why:

One star, then two, then three.

Hints

    Was this a good challenge?

    Solved by
    0
    Submissions
    0
    Accepted
    –