Donn Ingle wrote:

>> x in range(1,20) ?
> Sure, that's okay, but it has clarity issues, and is calling a func.

and it requires that x is integral (1.0 is in the range, 1.001 is not),
and becomes dog slow when the range gets larger. Not a good idea.

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

Reply via email to