Python sorted returns a new list
sorted creates a new list while list.sort mutates the existing list and returns None. Confusing the return values can replace useful data with None.
- @deneil2121▲ 4
Robust
Great
Clear note on python / sorting. "Python sorted returns a new list" is the kind of detail that is easy to overlook.
Gem
- @deneil2121▲ 3
Outstanding
- @dearsohum▲ 2
Specific and to the point: "Python sorted returns a new list". Worth a look if you touch python / sorting.
- @mrnarwhal55▲ 2
Useful
- @aarya-mehta▲ 2
Specific and to the point: "Python sorted returns a new list". Worth a look if you touch python / sorting.
- @narwhalix▲ 2
Lifesaver
Good to see "Python sorted returns a new list" written down. Handy reference for anyone working with python / sorting.
Saved
- @imsa-mehta▲ 2
Good to see "Python sorted returns a new list" written down. Handy reference for anyone working with python / sorting.
- @ohmshawas23▲ 2
Seamless
- @hk3narwhal▲ 1
Wise
Excellent
Valuable
Specific and to the point: "Python sorted returns a new list". Worth a look if you touch python / sorting.
"Python sorted returns a new list" is a useful thing to know about with python / sorting. Thanks for sharing it.
Appreciate the write-up on "Python sorted returns a new list". Useful for anyone using python / sorting.
Gamechanger