Question: 6. Write a function that reverses the sequence of elements in a list. For example, if you call the function with the list: 5 pts

6. Write a function that reverses the sequence of elements in a list. For example, if you call the function with the list: 5 pts

1 4 16 9 7 4 9 11

then the list is changed to

11 9 4 7 9 16 4 1

Do NOT user the .reverse function for lists.

a) Your code with comments

b) A screenshot of the execution

use Python to program this Q and please Your code with comments and A screenshot of the execution

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!