title: New to python invalid syntax*update
body: <p>I'm trying to finish a program for one of my classes but I keep getting invalid syntax, python is extremely new to me so bear with my ignorance.</p>
  
  <p>The invalid syntax is popping up at the colon in "if guess==(num_x+num_y):"
  If anyone could help I would much appreciate it. </p>
  
  <hr>
  
  <p>update*
  fixed the parentheses thank you abarnert but now I have the following <code>SyntaxError</code></p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Franz\Desktop\randomstudy.py", line 48, in &lt;module&gt;
      main()
    File "C:\Users\Franz\Desktop\randomstudy.py", line 25, in main
      guess=int(input(num_x, "-", num_y, "=\n"))
  TypeError: input expected at most 1 arguments, got 4
  </code></pre>
  
  <p>I have updated the below code to included the parentheses.</p>
  
  <pre><code>def main():
      import random
      num_x=random.randint(-50,50)
      num_y=random.randint(-50,50)
      op=random.randint(0,3)
      control=True 
      print("Welcome! Here is your random problem:\n")   
      if op==0:
          while True:
              guess=int(input(num_x, "+", num_y, "=\n"))
              if guess==(num_x+num_y):
                  print("Congratulations! You have answered the problem correctly!")
                  break     
              else:
                  print("I’m sorry, that is not correct.  Please try again.")
      elif op==1:
          while True:
              guess=int(input(num_x, "-", num_y, "=\n"))
              if guess==(num_x-num_y):
                  print("Congratulations! You have answered the problem correctly!")
                  break     
              else:
                  print("I’m sorry, that is not correct.  Please try again.")
      elif op==2:
          while True:
              guess=int(input(num_x, "*", num_y, "=\n"))
              if guess==(num_x*num_y):
                  print("Congratulations! You have answered the problem correctly!")
                  break    
              else:
                  print("I’m sorry, that is not correct.  Please try again.")
      elif op==3:
          while True:
              guess=int(input(num_x, "/", num_y, "=(Please round to two decimal places)\n"))
              if guess==(num_x/num_y):
                  print("Congratulations! You have answered the problem correctly!")
                  break    
              else:
                  print("I’m sorry, that is not correct.  Please try again.")
  
  main()
  </code></pre>