Posts by FMAPR • 1 point
1 post
-
0
votes2
answers462
viewsQ: Assignment of Boolean within a ternary operator
I would like to know why this syntax is invalid and how to do the equivalent with a ternary operator seventh_state = False state_machine_var = 1 for x in range(0, 10): state_machine_var += 1…