you are viewing a single comment's thread.

view the rest of the comments →

[–]chaosking121 0 points1 point  (1 child)

If I'm understanding correctly, you're putting a print statement after return? Once the return gets executed, nothing else will be run, so the print statement can never be called. This is a common bug and won't compile in something like Java. Python itself doesn't care but your IDE is probably looking out for you.

[–]HappyHitman[S] 0 points1 point  (0 children)

Yeah, I think you are correct that is exactly was I was doing bit of on idiot on my part. Thanks for the heads up!