Boston Python Workshop 7/Friday/Tutorial: Difference between revisions
Content added Content deleted
imported>Jesstess |
imported>Jesstess |
||
Line 541:
====more choices: <code>if</code> and <code>else</code>====
You can use the <code>else</code> keyword to execute code when the <code>if</code> expression isn't True. Try this:
<pre>
|