Python 100% without mod operation, please vote up!
The mod(%) operation is pretty slower than addition(+) operation, and if you give a solution without using the mod operator, even such easy question may still i
The mod(%) operation is pretty slower than addition(+) operation, and if you give a solution without using the mod operator, even such easy question may still impressing interviewer because you know much more a little bit.\n\n```python\nclass Solution(object):\n    def fizzBuzz(self, n):\n        result = []\n        base3 = 3\n        base5 = 5\n        base15 = 15\n        \n        for i in xrange(1, n+1):\n            if i == base15:\n                result.append(\'FizzBuzz\')                \n                base3 = base15 + 3\n                base5 = base15 + 5\n                base15 += 15\n            elif i == base3:\n                result.append(\'Fizz\')\n                base3 += 3\n            elif i == base5:\n                result.append("Buzz")\n                base5 += 5\n            else:\n                result.append(str(i))\n        return result\n```
[]