title: int() argument must be a string or a number, not 'builtin_function_or_method' - python
body: <p>The traceback says:</p>
  
  <pre><code>Traceback (most recent call last):
    File "dex.py", line 37, in &lt;module&gt;
      n=int(raw_input)
  TypeError: int() argument must be a string or a number, not 'builtin_function_or_method'
  </code></pre>
  
  <p>and the code:</p>
  
  <pre><code>t[n]=1
  </code></pre>
  
  <p>where t is <code>t=[0, 0, 0, 0, 0, 0, 0, 0, 0 ,0]</code>
  and n is <code>int(raw_input)</code>  </p>
  
  <p>What I'm basically trying to do is to set the index <code>n</code> of <code>t</code> to <code>int(raw_input)</code>.</p>