CBSE · 083Class XII · 2023Section A1 mark
Question 07
30 March 2023 · Computer Science (083)
Fill in the blank. _______ function is used to arrange the elements of a list in ascending order.
Answer
(a) sort()
Explanation
The sort() method sorts the elements of a list in place. By default, it sorts in ascending order.