Python Programming - Loops - Discussion

Discussion Forum : Loops - General Questions (Q.No. 32)
32.
What is the purpose of the sorted function in Python when used with loops?
Reverses the order of elements in a list.
Sorts the elements in ascending order.
Returns the index and value of each element in a sequence.
Checks for equality of elements in multiple sequences.
Answer: Option
Explanation:
The sorted function in Python is used to sort the elements in ascending order.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.