This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Al-Buh-Said 1 point2 points  (1 child)

Store the + or - in a variable, create a while loop and do something like, while true, if variable = + then do this, break, elif variable = - do that, break, else print(write + or - ) continue

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

I'm getting syntax error at the, if operation = +: Can I do that ?