Lists + Functions (A Day at the Supermarket)


Hi everyone,

Running into a problem where I can't seem to find what's wrong with my code.

I made sure the indentation is right... but what else is missing?


@tfan1210 ,

What is the object that you are comparing to "fizz"?


Never mind, I figured it out.

I just needed to change to

if number == "fizz":

instead of

if x == "fizz":