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

9 lines
83 B
Python
Raw Normal View History

2023-07-01 11:58:00 -04:00
if x == 0:
foo()
elif x == 1:
bar()
elif x == 2:
baz()
else:
boz()