Y
Hacker News
new
|
ask
|
show
|
jobs
by
heyoni
2246 days ago
Quick example off the top of my head is the built-in sorted function. That returns a new list if I'm not mistaken.
1 comments
billfruit
2246 days ago
What I had in mind was the append function, it modifies the list instead of creating a new list.
link