title: python if user input contains string
body: <p>Very basic question.
  We have the code:</p>
  
  <pre><code>a = input("how old are you")
  
  if a == string:
      do this
  
  if a == integer (a != string):  
      do that
  </code></pre>
  
  <p>Obviously it doesn't work that way. But what is the easiest way to do this.
  Thanks for any answers in advance.</p>
  
  <p>We could also say:</p>
  
  <pre><code>if string in a:
      do this
  </code></pre>