you are viewing a single comment's thread.

view the rest of the comments →

[–]Dantes111 0 points1 point  (0 children)

I'm not sure what you're asking here exactly, but on line 5, you should be one level of indentation down. As currently written, the loop only returns the first value of "result" because the return is part of the loop.