title: TypeError: locals must be a mapping
body: <p>In Python 3.4.3 I have this code.</p>
  
  <pre><code>operator = random.choice('-+')  
      numTheF = random.choice(numsUseF)  
      numTheS = random.choice(numsUseS)   
      print ('What is', int(numTheF), operator, int(numTheS))  
      ansReal = eval(int(numTheF), operator, int(numTheS))  
      ansUser = input ('?')  
      if ansUser == ansReal:    
          score += 1  
          question += 1   
  </code></pre>
  
  <p>All the variables are properly set up but I can't get the <code>ansReal</code> to output the actual answer.</p>
  
  <p>Here is the error message.</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Marko\Documents\Programming Princ\Task One.py", line 34, in       &lt;module&gt;
  ansReal = eval(int(numTheF), operator, int(numTheS))
  TypeError: locals must be a mapping
  </code></pre>