Solve FizzBuzz in your preferred language and explain your approach.
Implement fizz_buzz(n) to return a list for integers from 1 through n. Use "Fizz" for multiples of 3, "Buzz" for multiples of 5, "FizzBuzz" for multiples of both, and the number as a string otherwise. For n = 5, return ["1", "2", "Fizz", "4", "Buzz"]; assume 1 <= n <= 10^4.
def fizz_buzz(n):