RosettaCodeData/Task/Conditional-structures/Python/conditional-structures-1.py

9 lines
83 B
Python
Raw Normal View History

2013-04-10 16:57:12 -07:00
if x == 0:
foo()
elif x == 1:
bar()
elif x == 2:
baz()
else:
boz()