Is it possible to turn this:
if cond1 == 2 and cond2 == 3:
a = 5
b = 6
c = 7
into something like this:
if cond1 == 1 and cond2 == 2: a = 5, b = 6, c = 7
Note: I know this is not readable, recommended or practical but for the task I have at hand this is what I would like to know and use.
>Solution :
Just change the commas to semicolons:
if cond1 == 1 and cond2 == 2: a = 5; b = 6; c = 7