LearnPy Hub
← Input problems
Easy

Numbers on One Line

Read n and print the numbers 1 to n on one line separated by spaces, using print(i, end=' ') in a loop, then a final print().

Input

One integer n ≥ 1.

Output

One line.

Sample 1

Input
5
Output
1 2 3 4 5

Sample 2

Input
1
Output
1
solution.py
Output appears here
Hints
Numbers on One Line · Python practice problem · LearnPy Hub