title: If statements running at the same time how to
body: <pre><code>if input(&quot;Raining? &quot;) == &quot;yes&quot;:
      print(&quot;Then you should take an umbrella&quot;)
  
  if input(&quot;Raining? &quot;) == &quot;no&quot;:
      print(&quot;Then you should not take an umbrella &quot;)
  </code></pre>
  <p>so I want these 2 to check yes or no at the same time so when I type no the printed answer should be &quot;Then you should not take an umbrella&quot; but the thing is it asks twice when I say no
  example:</p>
  <pre class="lang-none prettyprint-override"><code>Raining? no
  Raining? no
  Then you should not take an umbrella
  </code></pre>
  <p>any ideas how I can make this work ?</p>
  <p>I just want to ask you Raining? no and the answer to be Then you should not take an umbrella, not asking you twice and the second time works</p>