title: Unexpected EOF while parsing - Python
body: <p>I'm not sure what the issue is with my code but I get the error "Unexpected EOF while parsing" when attempting to go through my try and except code.
  Here is the code that's causing problems: 
  `</p>
  
  <pre><code>def main():
      t = False
      while t != True:
          print('1) Addition\n')
          print('2) Subtraction\n')
          print('3) Division\n')
          print('4) Multiplication\n')
          print('5) Exponential\n')
          print('6) Exit\n')
  
          choice = input('Enter choice (from 1-6): ')
          try:
              send = input('Enter numbers (seperate by space: ')
              a, b = send.split(' ')
              a = int(a)
              b = int(b)
          except TypeError:
              print('Invalid Input')
  
  main()
  </code></pre>
  
  <p>`</p>
  
  <p>Any help is appreciated. Thank you.</p>