I need help what is wrong with this code it says syntax error line 5 i cant seem to fix the problem


#1



It says syntax error in line 5 but I can't seem to fix the problem


Please help me I am stuck. Thank you. My code is inserted below.


 Write your function below!
def fizz_count(x):
    count=0
    for n in x:
        if count='fizz':
            count=count+1
            
    return count


#2

Does this look like a comparison?


#5

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