list.sort() modifies the existing list, while sorted() returns a new list without modifying the given list.
RE: Learn Python Series (#6) - Handling Lists Part 2
You are viewing a single comment's thread from:
Learn Python Series (#6) - Handling Lists Part 2