Conditional structures: Difference between revisions
Content added Content deleted
PatGarrett (talk | contribs) |
|||
Line 509: | Line 509: | ||
=={{header|Astro}}== |
=={{header|Astro}}== |
||
<lang python>if x == 0: |
<lang python>if x == 0: |
||
foo() |
|||
elif x == |
elif x == 1: |
||
bar() |
|||
elif x == 2: |
|||
baz() |
|||
else: |
|||
qux() |
|||
x |
x |