Search for question
Question

Lab Tasks: Task 1: Using insert method, write a function that reverses a list without using the built-in reverse function. Your function should return the reversed list. In the main code, define the Num=[1,3,4,5,6,7], then insert 2 in the 2nd position and then call the function to reverse and print the list. The result should be: [7,6,5,4,3,2,1]

Fig: 1