Код: Выделить всё
if cond1 == 2 and cond2 == 3:
a = 5
b = 6
c = 7
Код: Выделить всё
if cond1 == 1 and cond2 == 2: a = 5, b = 6, c = 7
Подробнее здесь: https://stackoverflow.com/questions/790 ... -line-body
Код: Выделить всё
if cond1 == 2 and cond2 == 3:
a = 5
b = 6
c = 7
Код: Выделить всё
if cond1 == 1 and cond2 == 2: a = 5, b = 6, c = 7