Actually, I understand the exercise, but I have a question about the "loop" . Please see the example in this lesson.
What does " return total " play in the "loop"? Since "for .... in ...." loop has already operated every item in the list, it can repetitively play the item in the list. So what will be the result if there is no "return total" in the end?
no code, just question about the example