Oops, try again. fizz_buzz doesn't look like it is a function!


#1
# Write your function below!
def fizz_buzz(x):
    count=0
    for item in x:
        if item=="fizz":
            count=count+1
    return count
fizz_count=["fizz", 'count', "fizz"]
buzz=fizz_buzz(fizz_count)
print buzz

Prints 2. Error
Oops, try again. fizz_buzz doesn't look like it is a function!
but it is doe....=( plz halp.


#4

The instructions direct us to write a function named, fizz_count. Give your list a different name (can be a single letter) and rename your function.