Lists + Functions (A Day at the Supermarket)


#1

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?


#2

@tfan1210 ,

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


#3

Never mind, I figured it out.

I just needed to change to

if number == "fizz":

instead of

if x == "fizz":


#4