Hacker News new | ask | show | jobs
by numberwhun 4846 days ago
Looking at the run function, you might benefit to use a switch-case in place of that plethora of if-elif's. It would look a bit neater IMHO.