Advertisements
Advertisements
Question
______ function is used to arrange the elements of a list in ascending order.
Options
sort()
arrange()
ascending()
asort()
MCQ
Fill in the Blanks
Solution
sort()
function is used to arrange the elements of a list in ascending order.
Explanation:
A list's sort()
function puts its elements in ascending or descending order.
shaalaa.com
Is there an error in this question or solution?