Lists + Functions
I get this one at the bottom of the screen: Oops, try again. fizz_count(['fizz', 'buzz']) returned 0 instead of the correct answer: 1
and none in the console
i guessed it was because i needed to use the mentioned list instead of x, so i began to change stuff. I tried everything and nothing seems to work.
def fizz_count(x): count = 0 for e in x: if e == "fizz": count + 1 return count
I used a million codes and it still doesn't work, i even changed my browser. Please help.