Grant Edwards <invalid@invalid.invalid>:

>   not (0 <= x <= 10)         (I)
> [...]
>    (x < 0) or (x > 10)       (II)
> [...]
> IMO, (I) is _more_ readable than (II)

IMO, they're equally readable (except that you should drop the redundant
parentheses from (II)).


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

Reply via email to