Simple pythonish problem to solve.
This test is based on famous FizzBuzz kid/drinking game, and you may be asked about it during any job interview. While the problem is solved, it contains a few trivial to fix errors. Can you find and fix them?
Print all numbers or their 'fizz' and/or 'buzz' replacements, from 0 to 100, one entry per line. Please find an example below (output is shortened to show you the idea).
fizzbuzz
1
2
fizz
4
buzz
fizz
7
8
fizz
buzz
11
fizz
13
14
fizzbuzz
[...]
buzz
fizz
97
98
fizz
buzz