Question: How do you build a function that takes a list called my_data and returns a list that is the reversed version of my_data which is
How do you build a function that takes a list called my_data and returns a list that is the reversed version of my_data which is linked to my_data, giving a list whose entries read the same backward and forwards?
Step by Step Solution
There are 3 Steps involved in it
To reverse a list in Python you can use the reverse method or slicing technique Heres an example of ... View full answer
Get step-by-step solutions from verified subject matter experts
