title: Python3 if if else
body: <p>When i do this in this way</p>
  
  <pre><code>x = "Hello"
  if len(x) &lt;= 9:
      print("The password must contain at least 9 letters")
  if x[0].islower():
      print("The first password letter must be uppercase")
  else:
      print("Password saved")
      password = x
  </code></pre>
  
  <p>i getting</p>
  
  <pre><code>&gt;The password must contain at least 9 letters
  &gt;Password saved
  </code></pre>
  
  <p>What should I do to make the program stop on:</p>
  
  <pre><code>&gt;The password must contain at least 9 letters
  </code></pre>