Using strings in lists in functions is coming up short


#1


not sure what the problem is....


#2

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


#3

i figured out what to do.

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