Your question is FizzBuzz in Python. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Write a Python program that iterates integers from 1 to 50 and prints Fizz, Buzz, or FizzBuzz based on divisibility.
For grading, implement fizz_buzz() with no arguments and return a list containing the 50 output strings in order, where non-matching integers are represented as strings. Use FizzBuzz when a number is divisible by both 3 and 5.
FizzBuzz for values divisible by both 3 and 5.def fizz_buzz():