# Python逻辑控制符 res = 1<2 res = 1<2<3 res ='name'=='NAME' res = 'M' in 'NAME' print(res)
# 条件判断语句 if 1<0: print('hello bigdate') elif 1<3: print('hello lly') else: print('hello nuoyanli')
注:Python没有switch