How to Implement FizzBuzz in Python