Python 2.5 Hello Word - how to use imports for goto
Posted on 2012-04-06
My 13 year old son is learning Python. I was talking through an algorithm and before using if then else control, I chatted up goto. Turns out it wasn't available. I wanted him to do it with goto, then use the if then else as a better construct.
The Hello World book doesn't document goto, but via Google, it appears you can use imports to add the goto capability for flow control.
Any thoughts on how to get this construct working?