def fizz_count(x): count= 0 for x in fizz_count(x): if x = 'fizz': count= count + 1 print count
I keep getting a syntax error for the
if x = 'fizz' this am I suppose to write down the whole function or is it a problem with the fizz part I already tried
if x = 'fizz': ,
if x = "fizz": and
if x = fizz: I don't what to use I thought it was
"fizz" because it was from a list value but I am not sure?