Solve problem "Reverse the sequence" online - Learn Python 3 - Snakify

Reverse the sequence


Statement

Given a sequence of integers that end with a \( 0 \). Print the sequence in reverse order.

Don't use lists or other data structures. Use the force of recursion instead.


In all the problems input the data using input() and print the result using print().