title: Password Checker UpperCase
body: <p>Below is my small program I am working</p>
  
  <blockquote>
    <p>Build a password checker. It will take string input. Condition:
    password string must contain at least one upper case, one lower case,
    one number and length must be minimum 8 characters. Otherwise it will
    say ‘invalid password’.</p>
  </blockquote>
  
  <p>I am trying with the below codes </p>
  
  <pre><code>password = str(raw_input("Enter the password: "))
  
  if password.isalnum() == False:
      print "Password should contain atleast one special character or number"
  if password.isalnum() == False:
      print "Password should contain atleast one numeric number"
  elif len(password)&lt;8:
      print 'Too short'
  elif password.isupper() == False:
      print 'Password should contain atleast one uppercase character'
  elif password.islower() == False:
      print 'Password should contain atleast one lowercase character'
  else:
      print "Password is OK"
  </code></pre>
  
  <p>But it is inconsistent, it is asking for uppercase even it is there, </p>
  
  <pre><code>Enter the password: niswdgER41
  Password should contain atleast one uppercase character
  </code></pre>