title: 'TypeError: 'list' object is not callable' when using reversed
body: <p>I really cannot find error. Could you help?</p>
  
  <pre><code>import re
  while True:
      a = raw_input() #unos
  
      # stepenovanje
      list = re.findall(r'\d+(?:\.\d+)?(?:[\^]\d+(?:\.\d+)?)+', a) #odvajamo stepene
      for elem in list:
          powers = elem.split("^")
          powers = list(reversed(powers)) #obrtanje liste
          print powers, 'pow'
          result = float(powers[1]) ** float(powers(0))
          powers = powers.remove[0]
          powers = powers.remove[0]
          while len(powers) &gt; 1:
              result = result ** float(powers[0])
              powers = powers.remove[0]
          result = result ** float(powers[0])
          a = a.replace(list[list.index(elem)], str(result)) #smestanje rezultata na mesto cinilaca u stringu a
          print a, 'posle stepenovanja'
  </code></pre>
  
  <p>the error I get: </p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/dusan/PycharmProjects/untitled1/2.py", line 10, in &lt;module&gt;
      powers = list(reversed(powers)) #obrtanje liste
  TypeError: 'list' object is not callable
  </code></pre>