Write a Python program which iterates the integers from 1 to 20. For multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz". code example
Example: fizzbuzz in python
def fizzBuzz(size):
for i in range(size - (size -1), size + 1):
localResult = "fizz" if not i % 3 else ""
localResult = localResult + "buzz" if not i % 5 else localResult
localResult = str(i) if localResult == "" else localResult
print(localResult)