LearnPy Hub
← Iterators & Generators problems
Easy

range Is Iterable

Read a, b and step on one line. Print every number of range(a, b, step) on one line, or empty if there are none.

Input

Three integers (step ≠ 0).

Output

One line.

Sample 1

Input
1 10 2
Output
1 3 5 7 9

Sample 2

Input
10 1 -3
Output
10 7 4
solution.py
Output appears here
range Is Iterable · Python practice problem · LearnPy Hub