Hello all, I seem to be stuck on lists + functions. After reviewing information here on the forums I can still not find where my code is incorrect. Any assistance is most helpful.
Here is the link to the exercise I am stuck on:
Traceback (most recent call last):
File "python", line 4, in
NameError: name 'x' is not defined
Should add +1 to count per 'fizz' present
# Write your function below! def fizz_count(x): count = 0 for count in x: if count == 'fizz': count =+1 print count