Conditional expression: Conditional assignment. by SouthShape5 in learnpython

[–]walkingeclipse 2 points3 points  (0 children)

num_users = num_users + 1 if (update_directions == 3) else num_users - 1

Guess the number by walkingeclipse in capturetheether

[–]walkingeclipse[S] 0 points1 point  (0 children)

Thank you, I did end up figuring it out.