Print Numbers from 1 to N
Easy📝 Description
Print all numbers from 1 to N
Input Format
Single integer n
Output Format
Numbers from 1 to n separated by space
Constraints
1 ≤ n ≤ 1000
🔍 Sample Input
5
✅ Sample Output
1 2 3 4 5
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run