b = '1'
if b == '2':
print('2')
elif b == '3':
print('3')
else:
print('其它都不是')
python—— python if else 语句多条件写法
猜你喜欢
转载自blog.csdn.net/qq_43201350/article/details/120110107
今日推荐
周排行