Question: use python only Write a program which reverses the order of the elements in a list. The elements can be integers or strings. Your program
use python only
Write a program which reverses the order of the elements in a list. The elements can be integers or strings. Your program must ONLY USE the Python append ( ) and the pop ( ) list methods. Your program should continue removing the last element of the parameter list and appending it to the end of the new list until the parameter list is empty. Notes: - The list you need to reverse is already provided by CodeRunner, so you do not need to create it. It is called a_list. - The output must be in the format shown in the examples below, including the format of the prompt, and all spaces and punctuation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
