input: Write a function to generate the output "FizzBuzz" for numbers from 1 to 50, where "Fizz" is printed for multiples of 3, "Buzz" is printed for multiples of 5, and "FizzBuzz" is printed for multiples of both 3 and 5.
  
  def fizz_buzz():
      for i in range(1, 51):
          if i % 3 == 0 and i % 5 == 0:
              print("FizzBuzz")
          elif i % 3 == 0:
              print("Fizz")
          elif i % 5 == 0:
              print("Buzz")
          else:
              print(i)
output: def fizz_buzz():
      for i in range(1, 51):
          if i % 3 == 0 and i % 5 == 0:
              print("FizzBuzz")
          elif i % 3 == 0:
              print("Fizz")
          elif i % 5 == 0:
              print("Buzz")
          else:
              print(i)