Hacker News new | ask | show | jobs
by anitil 2067 days ago
(offtopic) You might be missing an '== 0' in the second line there? I've never done fizzbuzz so I honestly don't know, but the ruby version has it.
1 comments

Zero and empty lists and dictionaries are treated as False in Python.