title: How do I add a "for loop" to repeat python script and ask for new input
body: <p>I don't know how to make the script keep asking for the pet's name if I enter a name that is not in the myPets list.
  So if I type in Tiny ( a name not in the list) the script runs and closes after it prints out ('I do not have a pet named '+ name) 'I do not have a pet named Tiny.</p>
  
  <p>I want to put a for loop in the script so it will ask me again for an input.</p>
  
  <pre><code>myPets = ['Zophie', 'Pooka', 'Fat-tail']
  print('Enter Pets Name:')
  name = input()
  if name not in myPets:
      print('I do not have a pet named '+ name)
  else:
      print(name + ' is my pet.')
  </code></pre>