A Day at the Supermarket Lists & Functions help


Hey guys! I've been stuck on this for the past 2 days and I've tried a lot of things. Not sure what I'm doing wrong. I have a feeling it might have to do with defining the initial list.


a function ends the moment a return keyword is reached, if the return keyword is reached in a loop, the loop will break in order for your function to end

you want to increase the counter inside the loop, then after the loop return the number of occurrence of fizz inside your list


Didn't get what you were saying at first but solved it :smiley: thanks!


i do this on purpose, i still want you to fit the pieces together to improve your understanding :slight_smile:

there is a big difference between helping and providing the solution :wink:


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