Question: Write a python 3 program that keeps reading untether numbers moron the input until it receives 0, at that time the program must stop reading

Write a python 3 program that keeps reading untether numbers moron the input until it receives 0, at that time the program must stop reading and print the numbers in reverse order.
Sample Input Sample Output
10 0 4 5 -3 15 -2 3 10
3
-2
15
-3
5
4
0
Note: your code should be able to convert the sample input into the sample output. However, this is not enough to pass the challenge, because the code will be run on multiple test cases. Therefore, your code must solve this problem statement.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!