Using strings in lists in functions is coming up short


not sure what the problem is....


a function ends the moment a return keyword is reached

if a return keyword is reached in the loop, the loop will break in order for the function to be able to end.

So, your loop breaks in its first iteration, you want your whole loop to run, so place return outside your loop


i figured out what to do.

i forgot where return should be ie: code not indented properly