Count to N (Baby Steps)
Read n and print the numbers from 1 to n, one on each line.
Input: One integer n (1 to 200).
Output: n lines: 1, 2, 3, … up to n.
Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Hint
- Use a for loop that starts at 1.