title: If string statement: What am I missing?
body: <p>I've created a simple code which looks like this:</p>
  
  <pre><code>name = str(input ("What is your name?"))
  
  gender = str(input ("What is your gender?"))
  
  if gender == 'male' or 'Male':
  
      print ("Hello Mr %s" % (name))
  
  elif gender == 'female' or 'Female':
  
      print ("Hello Mrs %s" % (name))
  
  else:
  
      print ('Invalid gender. Please try again.')
  </code></pre>
  
  <p>However, no matter what gender I type (even random words like <code>test</code>), it always prints out the if statement, which means it satisfy the <code>gender == male</code> portion. Like if I key in <code>female</code>, the if statements still prints out. What am I missing here?</p>