List + Functions


I believe I am not writing the function write this is the code I entered and I got an error.

Write your function below!

def count_fizz(x)
count = 0
for item in x:
if item == "fizz":
count = count + 1

return count

This is the right code:
def fizz_count(x):
    for item in x:
        if item=="fizz":
    return count


Please you have to indent and format your code when you ask questions..