Python Programming - Lists - Discussion

Discussion Forum : Lists - General Questions (Q.No. 53)
53.
What is the purpose of the list.reverse() method in Python?
Sorts the list in descending order.
Reverses the order of elements in the list.
Removes duplicate elements from the list.
Appends the list to itself.
Answer: Option
Explanation:
The reverse() method in Python lists is used to reverse the order of elements in-place.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.