Boston Python Workshop 7/Friday/Tutorial: Difference between revisions
Content added Content deleted
imported>Jesstess |
imported>Jesstess |
||
Line 541: | Line 541: | ||
====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 |
You can use the <code>else</code> keyword to execute code when the <code>if</code> expression isn't True: |
||
<pre> |
<pre> |