How will you access the list elements in reverse order ?
Answers
Answered by
2
Answer:
Method 2: Using the reverse() built-in function.
Using the reverse() method we can reverse the contents of the list object in-place i.e., we don't need to create a new list instead we just copy the existing elements to the original list in reverse order. This method directly modifies the original list.
Similar questions