title: Prompt user to enter names and prints out the list in python
body: <p>trying to make a program that prompts user to enter a famous peoples names and continues asking until they type "done" and prints out the list with the names and the number of names. could anyone give me a little help?</p>
  
  <pre><code>def main():
      cList = []
      cName = []
      while cName != ("done"):
          cList.append(cName)
          cName = input("Enter another name: ")
      print("# of names entered: "), [cList]
      i = 0
      while i &lt; len(cList):
          print myList[i]
          i += 1
      return
  
  main()
  </code></pre>