title: Best way to validate a name in Python
body: <p>I need to validate a name without regular expressions and keep it simple, i have this:</p>
  
  <pre><code>def validation(name):
      for char in name:
          if  not (("A" &lt;= char and char &lt;= "Z") or ("a" &lt;= char and char &lt;= "z") or (char == " ")):
              return False
      return True
  </code></pre>
  
  <p>is there a way to  make it better?</p>