List + Functions


#1

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_fizz("fizz")
count = count + 1

return count

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

#3

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