title: Python - searching for letters in a list of words
body: <p>I am absolutely new to programming atm. I have searched the forums but none of the results were applicable to my case (unless I am mistaken, but trust me the first thing I did was to google). Please help me if you have time.</p>
  
  <p>Write a python program that prompts the user to enter a list of first names and stores them in a list. The program should display how many times the letter 'a' appears within the list.</p>
  
  <p>Now I thought I have got the PERFECT code. But everytime the program only counts the number of "a"s in the first word on the list!?</p>
  
  <pre><code>terminate = False
  position = 0
  name_list = [ ]
  
  while not terminate:
      name = str(input('Please enter name: '))
      name_list.append(name)
  
      response = input('Add more names? y/n: ')
      if response == 'n':
          terminate = True
          print(name_list)
          for t in name_list:
              tally = name_list[position].count('a')
              position = position + 1
          print("The numer of 'a' is: ", tally)
  </code></pre>
  
  <p>If anyone has time to help I would appreciate it.</p>