4/13 day at the supermarket


#1

Any chance you figured it out?

Same with me, checked the identation by writing the function in Spyder, which guides you.
Here's a screenshot of my code and the error messageg after I've hit run:


4/13 a day at the supermarket
#2

a return keyword is currently reached in the first iteration of your for loop, which means the function ends after the first iteration

change the indent of return so the whole for loop can run


#5

@stetim94 Thank you!
A screenshot for everybody else that has been stuck:


#6