ExamVeda
Login
Home
Python Built In Functions
?

What does the built-in function sorted() do in Python?

Answer & Solution
Correct Answer: Option A
The sorted() function in Python takes an iterable as an argument and returns a new sorted list containing all items from the iterable in ascending order.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.