title: Name Search in Python
body: <p>In this program the user is supposed to enter a boy's name and a girl's name. The program is then supposed to output whether the two names were in the files or not. My program runs as of now, but no matter what name I enter it outputs that the name was not on the list. What do I need to do to fix this problem?</p>
  
  <pre><code>foundGirl = False
  findGirl = input("What is the girl's name?: ")
  girlNames = open('GirlNames.txt', 'r')
  searchGirls = girlNames.readline()
  
  if searchGirls == findGirl:
      print(findGirl, 'is found in the top 200 baby names.')
      print()
  
      foundGirl = True
  
  searchGirls = girlNames.readline()
  
  if not foundGirl:
      print('That girl name was not on the list.')
  
  foundBoy = False
  findBoy = input("What is the boy's name?: ")
  boyNames = open('BoyNames.txt', 'r')
  searchBoys = boyNames.readline()
  
  if searchBoys == findBoy:
      print(findBoy, 'is found in the top 200 baby names.')
      print()
  
      foundBoy = True
  
  searchBoys = boyNames.readlines()
  
  if not foundBoy:
      print('That boy name was not on the list.')
  
  girlNames.close()
  boyNames.close()
  </code></pre>