Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Star Triangle

Read a number N, then print a triangle pattern with stars.

Example:

Input:

text
4

Output:

text
*
**
***
****

Hint: You can multiply strings: "*" * 3 gives "***".

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python