Python Programming - Lists - Discussion

Discussion Forum : Lists - General Questions (Q.No. 33)
33.
What is the purpose of the sort() method in Python lists?
Reverses the order of elements.
Sorts the list in ascending order.
Removes duplicate elements.
Appends elements to the end of the list.
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.