I have a very long set of expressions in a if
statement. But apparently I'm not allowed to split my if statement even when I'm not splitting the block with indentation for obvious python-reasons. I'm a total newbie in regard of python so I'm sorry if my question is annoying.
Ideally, I would like to have the if
statement arranged this way:
if (expression1 and expression2) or
(
expression2 and
(
(expression3 and expression4) or
(expression3 and expression5) or
(
expression4 and (expression6 or expression7)
)
):
pass
Right now it's all in one line and not a lot of readable.