11.条件控制语句
基本语法:
if ……
elif……
else……
看案例
# 条件控制
a = 0
b = 0
if a:
print('a is true')
elif b:
print('b is true')
else:
print('nobody is true')