Python Programming - Lists - Discussion

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

Post your comments here:

Your comments will be displayed after verification.