title: TypeError: 'dict' object is not callable
body: <p>I'm trying to loop over elements of an input string, and get them from a dictionary. What am I doing wrong?</p>
  
  <pre><code>number_map = { 1: -3, 2: -2, 3: -1, 4: 1, 5: 2, 6: 3 }
  input_str = raw_input("Enter something: ")
  strikes = [number_map(int(x)) for x in input_str.split()]
  </code></pre>
  
  <hr>
  
  <pre><code>strikes  = [number_map(int(x)) for x in input_str.split()]
  TypeError: 'dict' object is not callable
  </code></pre>