Add switch statement to Python | Hacker News Reader