Dealing with Invalid User Input in Python | Hacker News Reader