Anonymous user
Boston Python Workshop 3/Friday/Tutorial: Difference between revisions
Boston Python Workshop 3/Friday/Tutorial (view source)
Revision as of 02:14, 17 June 2011
, 12 years ago→more choices: if and else
imported>Jesstess |
imported>Jesstess |
||
Line 587:
</pre>
Like with <code>if</code>, the code block under the <code>else</code> statement must be indented so Python knows that it is a part of the <code>else</code> block.
====compound conditionals: <code>and</code> and <code>or</code>====
|