Hacker News new | past | comments | ask | show | jobs | submit login

    sorted_numbers = sorted(numbers, key=abs)
Need to remember that, I'm sure I've committed that sin!



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: