Shay escreveu:
> How would I best type the following:
>
> if long_condition1 or (long_condition2 and long_condition3):
>
> Without making a complete, unreadable mess.
>
> some_name = long_conditionn # bool
>
> will not work, because I can't evaluate long_condition2 if 1 is true.
what's the problem people have with parentheses?
--
a game sig: http://tinyurl.com/d3rxz9
Post a reply to this message
|