Building `substring` (Part 2)

I don’t understand what I’m doing wrong. Please help.

return has to be part of function or method

look at line 9, the return keyword is in a loop, that is not possible (unless loop is part of function of course, but this is not the case)

the course you are taken is outdated and no longer supported, be aware

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.