unnested
Learn
Practice
Pro
Sign in
Functional Tools
1 / 4
EASY
·
Multiple choice
What is the key difference between sorted(iterable) and list.sort()?
sorted() returns a new list and works on any iterable; list.sort() sorts in place and returns None
list.sort() returns a new list; sorted() sorts in place
sorted() only works on lists; list.sort() works on any iterable
They are identical - both return a sorted list
Sign in
to save your progress.