82. Python Program to Print Numbers from 1 to N
Easyrange()
Overview
Use range() with a start and a stop that comes from input.
Problem Statement
Read a whole number n (1 or more) and print the numbers from 1 to n, each on its own line. For example, for 5:
1
2
3
4
5
Use input() with no prompt text: the tests type the input for you, and a prompt would end up in your output.
Input
One value per line, in this order. Example:
5
Output
The output for that example:
1
2
3
4
5
The tests try 3 different inputs.