Recursive Loop

Write a program recursive_loop.py that includes a recursive function loop(i, n) that prints the numbers from i to n - 1.

Example Output

Calling loop(0,4) produces the output:

0
1
2
3

Calling loop(1,11) produces the output:

1
2
3
4
5
6
7
8
9
10