Learning is Evolving |Flat 25% off on all courses | Use coupon code LEARN25 During checkout |
Enroll NowPerforming .sort()
on a list modifies the actual list and sorts it, whereas running sorted()
returns the sorted list without modifying the actual list.
Taking you to the next exercise in seconds...