a2_1.py

def print_range(start, end):
    print(start)
    if start == end:
        return
    elif start > end:
        print_range(start - 1, end)
    else:
        print_range(start + 1, end)

start = int(input("Enter start of range: "))
end = int(input("Enter end of range: "))
print_range(start, end)