fizz buzz fizzbuzz python game

def fizz_buzz(input):
    if (input % 3 == 0) and (input % 5 == 0):
        return "FizzBuzz"
    if input % 3 == 0:
        return "Fizz"
    if input % 5 == 0:
        return "Buzz"
    else:
        return input


print(fizz_buzz(3))

Here is what the above code is Doing:
1. Defining a function called fizz_buzz that takes an input.
2. Checking if the input is divisible by 3 and 5.
3. If the input is divisible by 3 and 5, return “FizzBuzz”.
4. If the input is divisible by 3, return “Fizz”.
5. If the input is divisible by 5, return “Buzz”.
6. If the input is not divisible by 3 or 5, return the input.
7. Calling the function with an input of 3.