title: I'm getting "TypeError: 'list' object is not callable". How do I fix this error?
body: <p>I have a simple script:</p>
  
  <pre><code>list = [1, 2, 3, 4, 5]
  myrange = list(range(1, 10))
  
  for number in list:
      if number in myrange:
          print(number, 'is between 1 and 10')
  </code></pre>
  
  <p>However, whenever I attempt to run my script, Python raises an error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "python", line 2, in &lt;module&gt;
  TypeError: 'list' object is not callable
  </code></pre>
  
  <p>What does this error mean? Why am I getting it? And how can I fix it?</p>