On Fri, Jul 18, 2008 at 05:28:32PM -0400, Derek Martin wrote:
>   def control(i, j):
>       print i,j
>       if not (i < 5 or j < 10):

Rather, if not (i < 5 and j < 10):

>           return
>       else:
>           control(some_increment_function(i), other_increment_function(j))

-- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D

Attachment: pgpizP6MkhvZ8.pgp
Description: PGP signature

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

Reply via email to