Organizing Lists Exercise
Question 1 of 4
What's the difference between sort() and sorted()?
numbers = [3, 1, 4, 1, 5]
result1 = numbers.sort()
result2 = sorted(numbers)They do exactly the same thing
sorted() only works with numbers
sort() returns a new list, sorted() modifies the original
sort() modifies the original list and returns None, sorted() returns a new sorted list