title: How to I repeat code until certain condition is met?
body: <p>I'm very new at Python, and I'm trying to make a simple program that asks the user for a password, and if the user didn't guess the password they were asked, ask again until they guess it.  How do I do that?</p>
  <pre class="lang-py prettyprint-override"><code>Password = input(&quot;guess the password: &quot;)
  while (password) != &quot;12345&quot;:
      Print(input(&quot;try again : &quot;))
  </code></pre>