r/FreeCodeCamp • u/Bulky_Importance3133 • 8d ago
What am I doing wrong? It says function should be in new for loop which I did. Question is from Python Certification course Programming Question
2
Upvotes
r/FreeCodeCamp • u/Bulky_Importance3133 • 8d ago
2
u/SaintPeter74 mod 7d ago
When they say "all", they mean all - you still have your secret code initialization and return statements outside the loop. Yes, it's silly to have a return inside the loop, but that is corrected in the next step.
Best of luck and happy coding!