2009/2/12 km <srikrishnamo...@gmail.com>:
> Hi,
>
> you could do it this way also :
>
> if i in [3,5]:
>     do something...

True, you could do it, but it would be wrong. The original is true for
i = 6, 9, 10, 12 and so on, but yours doesn't seem to be...

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

Reply via email to