LearnPy Hub
← Recursion & Lambda problems
Easy

Recursive Count Up

Write a recursive function that prints 1 to n in order. Read n and call it.

Input

One integer n ≥ 1.

Output

n lines.

Sample 1

Input
3
Output
1
2
3

Sample 2

Input
1
Output
1
solution.py
Output appears here
Hints
Recursive Count Up · Python practice problem · LearnPy Hub