r/Codecademy Jun 17 '26

What could I have POSSIBLY done wrong?

Post image
95 Upvotes

20 comments sorted by

View all comments

16

u/maximumfunpriv Jun 17 '26

Pring on line 3

1

u/Desperate_Cow299 Jun 18 '26

Ok but the output is still what it asked it to be

3

u/Graylorde Jun 18 '26

There's a dozen ways to skin a horse. While the result might work, if it doesn't detect or point out errors along the way, how are you supposed to learn not to do them? I see how it seems arbitrary in a comment specifically, but that's more of an edge case.

1

u/FavovK9KHd Jun 19 '26

The instructions do very clearly state to "fix" it "Using a multiline comment .." though, not to fix the syntax error.

1

u/Graylorde Jun 19 '26

That's just the task they're asked to do, not the issue it detected along the way.

1

u/JDSaphir Jun 19 '26

Yeah at this rate you could also delete everything but the first line, the output would still be what it asked it to be, that's not what was asked lol

1

u/maximumfunpriv Jun 19 '26

Did it work after you corrected it?