Building `substring` (Part 2)


#1

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

https://www.codecademy.com/courses/loops/3/5?curriculum_id=4f4bdd96848740000300026a#


#2

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


#3

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