Help with syntaxerror lists+fucntions


A day at the market, exercise 4 lists + functions.

I'm trying to figure out how the syntax in the fourth line of code is off, I'm sure it's some simple thing that's not jumping out to me, and I do apologize for having to ask for some help again.

def fizz_count(x):
    for item in x:
        if item= "fizz":
    return count


Be sure to write this as a comparison, not an assignment.


thanks, It also had a simple error on the line bellow it, thought that was a shortcut for +1 /shrug thanks for the assistance!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.