In <b37a93ec-c90b-4375-a264-e96c31288...@googlegroups.com> Luke Tomaneng 
<luketoman...@gmail.com> writes:

> The "cameraman" function restarts itself when it ends, and the "kid"
> function calls "instructions()." Does anyone know why?

The cameraman function restarts itself because ... that's what you told it
to do.  As far as I can see, every possible logic branch ends up with a
call to cameraman().

The kid function doesn't call instructions, but the last line of your
script does call it, unconditionally.

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gor...@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to