title: Basic integer calculator
body: <p>Writing a basic calculator. Takes integers and a type of operation, and performs the operation on the integers. I just started learning Python, coming over with a decent amount of MATLAB experience. Can't seem to get past the first "if" statement...</p>
  
  <pre><code>def calculator (num1, num2, operation):
      '''
      Parameters:
      -----------
      num1 : (float)
      num2 : (float)
      operation : (str)
          Can take the following values:
          multiplication, addition, subtraction, division
  
      Returns:
      --------
      answer : (float)
          The result of the indication operation performed on the two numbers
  
      Notes:  
      ------
      1. Subtraction and division are not distributive operations. This progam assumes that the user wants 
         the first number divided/subtracted by the second number
      2. As you may know any number divided by zero will result in an error. When this occurs, the program 
         raise a ValueError"
      '''
  
      # start writing your code below
  
      num1 = int(input('ENTER FIRST NUMBER'))
      num2 = int(input('ENTER SECOND NUMBER'))
  
      operation = input('input type of operation')
  
      if operation == 'multiplication'
          answer = num1 * num2
          else if operation == "addition"
          answer = num1 + num2
          else if operation == "subtraction"
          answer = num1 - num2
          else operation == "division"
          answer = num1 / num2
  
      return answer
  </code></pre>
  
  <p>Just getting a syntax error. What am I doing wrong?</p>