Sort

sorted() vs. sort()

  • sort() makes change in place which return NONE, while sorted() will make copy of sorted list, which keep original list

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×