3 ms·
Is this not normal?
by rexpop 6y ago
Is this not normal?
- deleted 6y ago[deleted]
- submeta 6y agoNo, it is not. Python's `my_list.sort()` will sort the list in-place without returning the sorted list. If I wanted to have a return value (without changing the original list), I'd have to use `sorted(my_list)`.