How to run the loop using for


Oops, try again. fizz_count(['fizz', 'buzz']) returned 0 instead of the correct answer: 1

it should count all the no. of fizz in the list

Replace this line with your code. 
def fizz_count(x):
    count = 0
    for item in x[0:]:
        if item == "fizz":
            count = count + 1
            return count


a function ends the moment a return keyword is reached, in your case in the first run of the loop, you might want to change the indent so the whole for loop can run


can you tell me exactly how to do it?


no need to bother.. did it ..thanks anyway