Introduction to Python

69 / 79
   

Performing .sort() on a list modifies the actual list and sorts it, whereas running sorted() returns the sorted list without modifying the actual list.