LearnPy Hub
← Introduction & print() problems
Medium

Draw an Arrow

Read n and print an arrow pointing right made of stars: lines with 1, 2, …, n stars and then n−1, …, 1 stars.

Input

One integer n ≥ 1.

Output

2n − 1 lines.

Sample 1

Input
3
Output
*
**
***
**
*

Sample 2

Input
1
Output
*
solution.py
Output appears here
Draw an Arrow · Python practice problem · LearnPy Hub