Question: Write a function that will read up an array of 5 numbers and write the numbers back to the screen in the reverse order.
Write a function that will read up an array of 5 numbers and write the numbers back to the screen in the reverse order. For example, if the input numbers are (enter one-by-one): 9 6 -2 0 10 Then the output should be 10 0-269 The 5 numbers are collected from the keyboard using a function.
Step by Step Solution
There are 3 Steps involved in it
Heres a simple Python program that fulfills your require... View full answer
Get step-by-step solutions from verified subject matter experts
