Python: range is not an iterator | Hacker News Reader