Manipulating the same variable twice inside a one line if/else expression
Is there a way to modify a variable twice in a one line if/else expression? it doesnt work with augmented assignement since this can not be destructured, so how could it be done if possible at all?
Manipulating the same variable twice inside a one line if/else statement in python
Is there a way to modify a variable twice in a one line if/else expression? it doesnt work with augmented assignement since this can not be destructured, so how could it be done if possible at all?