Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In the Python example, wouldn't you need to make sure the x values from mapping are sorted, since dictionaries are unordered? Change, for x in mapping to for x in sorted(mapping)


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

Search: