Somehow this code works, I'm pretty sure that it's supposed to return 2, but instead I got and still passed the lesson.
Not sure if bug or it's simply just correct
def fizz_count(x): count = 0 for word in x: if word == "fizz": count = count + 1 return count fizz_count(["fizz", "cat", "fizz"]) print fizz_count
if this is right, I would like an explanation because I just followed the example format but substituted other words in.
If it's a bug, well....I dunno