Carly's Clippers PROJECT

Why I do receive this error, doesn’t the code looks good >?

Does line 23 look quite right to you? :slight_smile:

1 Like

Got it. Thank you @thepitycoder .
I do have a question: Why was it showing me error in line 26 if it was in line 23 ?

1 Like

Not sure really, since there’s only 26 lines of code in your gist you shouldn’t have been seeing any error referring to line 30… :slight_smile:

1 Like

sorry) it was telling me line 26

1 Like

Without seeing the actual error message, I can only guess…

The Traceback doesn’t always point directly at the error; it’s a reflection of where Python got to in interpreting your program before it got stuck and had to bail with an exception.

When I run your code, I get pointed towards line 25 as the error… so it could be that when you ran it, the interpreter got to a similar point before getting into trouble and that’s why the error pointed you there.

All just a guess, though.

1 Like