title: Need help on looping my code so it repeats instead of searching once
body: <p>i dont under stand how to make this loop</p>
  
  <pre><code>term = input("")
  file = open('file.txt')
  for line in file:
      line.strip().split('/n')
      if term in line:
          print(line)
      if term in line:
          print('Not on database, (try using caps)')
  file.close()
  </code></pre>
  
  <p>(i know it is incorrect)</p>