Which is the correct method to reverse a list?
Answers
Answered by
9
Explanation:
You can reverse a list in Python using the built-in reverse() or reversed() methods. These methods will reverse the list without creating a new list. Python reverse() and reversed() will reverse the elements in the original list object. Reversing a list is a common part of any programming language
Similar questions