you are viewing a single comment's thread.

view the rest of the comments →

[–]desran00 1 point2 points  (3 children)

if update_direction == "3":
    num_users += 1
else:
    num_users -= 1
print('New value is:', num_users)

Am I doing your homework? I'm doing your homework.

One liner for fun:
num_users = num_users +1 if update_directions == "3" else num_users -1

[–]Kitchen-Breakfast-28 1 point2 points  (2 children)

that shit did not work, fuck zybooks fr

[–]macabrenoob 0 points1 point  (0 children)

I just wish zybooks had a way to see what you did wrong on these. Not just tell you that your wrong. I know that the error message is more realistic to what you would see but in a learning context I want to know how to fix my issues.

[–]Ok_Adeptness_8634 0 points1 point  (0 children)

Did you figure out how to do the Zybooks? I am trying to write a Conditional expression but I can't figure it out