Q. Which Python method sorts a list in place?
Solution:
The sort() method sorts a list in place, modifying the original list, unlike sorted() which returns a new list.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.