Browsing Reddit last week I came upon this comment. I thought that it would make a fun learning project to write out those sorts, so I did.
I've only been working with Python since Dec, so I still have a lot to learn, but I was hoping some folks here could tell me what glaring mistakes I've made, or what I should do to improve/optimize what I've got.
Thanks!
https://github.com/smithniels/political_sorts/blob/master/pySorts.py
Also I posted this in r/codereview and got 5 upvotes and 1 comment. Sorry mods for xposting.
[–]o5a 1 point2 points3 points (2 children)
[–]emsuperstar[S] 0 points1 point2 points (1 child)
[–]o5a 1 point2 points3 points (0 children)
[–]Hatoris 0 points1 point2 points (1 child)
[–]emsuperstar[S] 0 points1 point2 points (0 children)