title: Python call function for each item in list
body: <p>I have a set of 3 functions along with a list of names.  I am trying to loop through these names and call a function for each name.  My python looks like this...</p>
  
  <pre><code>def testfunc1():
      print("This is a test function 1")
      #print(name)
  
  def testfunc2():
      print("This is a test function 2")
      #print(name)
  
  def testfunc3():
      print("This is a test function 3")
      #print(name)
  
  
  name_list = ["John", "Joe", "Paul" "George", "Mark", "Craig", "Norman"]
  fn_list = [testfunc1(), testfunc2(), testfunc3() ]
  
  
  for i, name in enumerate(name_list):
      [i % len(fn_list)]()
      print(name)
  </code></pre>
  
  <p>And I would like this to happen...</p>
  
  <pre><code>John   - Run testfunc1
  Joe    - Run testfunc2
  Paul   - Run testfunc3
  George - Run testfunc1
  Mark   - Run testfunc2
  Craig  - Run testfunc3
  Norman - Run testfunc1
  </code></pre>
  
  <p>I have several problems with my current code, the first being that currently I get the following error...</p>
  
  <pre><code>TypeError: 'list' object is not callable
  </code></pre>
  
  <p>Can anyone help me resolve?</p>