Why is 'Bring an umbrella' the correct answer? : <p>I am using the Grasshopper app on my phone and I do not understand an example they gave me for if then statements.</p>

<p>They give you the solution because I answered incorrectly, but I do not understand why the solution given is correct. </p>

<pre><code>var todayWeather = 'rainy';
var tommorrowWeather = 'cloudy';
if (todayWeather === 'rainy') {
    print('Bring an umbrella');
}
if (todayWeather !== 'rainy') {
    print('Maybe the sun will come out');
}
</code></pre>

<p>They say the correct answer is 'Bring an umbrella'. But why is this what this code will produce if it is run?</p>
