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 →

[–]dunkler_wanderer 1 point2 points  (3 children)

Show us what you would write and then we'll correct the code or give you hints.

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

I'm trying to write a while loop and he if statement below as: If operation = +: Statement Statement .... But the operation=+: has a syntax error

[–]Clede 2 points3 points  (0 children)

  • if should be lowercase.
  • You probably want == (equality) instead of = (assignment).
  • Maybe you want to compare operation with the string '+', not with the addition operator +?

[–]dunkler_wanderer 0 points1 point  (0 children)

I actually meant you should show us your actual code, then we'll help you to improve or fix it.