Hi Richard,

The "return" statement does an early escape out of the currently
running function.

You have a "return" statement in your program that looks
unintentional.  In an ideal world, the Python compiler would give a
warning about this because it's a common mistake.  Unfortunately it
looks like Python doesn't do this.
Please feel free to ask followup questions to the mailing list.  Good luck!
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to