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