title: How to validate a name in Python?
body: <p>I need to validate a name input where the code makes sure that the user doesn't input any random characters as well as numbers for their reply to their name. So far I tried using a <code>.isdigit()</code> command however that didn't allow the user to re try entering their name.</p>
  
  <pre><code>name = input("\nWhat Is Your Name? : ") 
  
  if name.isdigit():
      print ("Invalid!") 
      name = input("\nWhat Is Your Name? : ")
      continue
  else :
      print("\nHi {}! Welcome to the Arithmetic quiz!".format(name))
  </code></pre>