pyhon if else如何嵌套if else

2024-10-30 18:41:08

1、第一行代码输入age = 18

pyhon if else如何嵌套if else

3、第三行代码输入weight = 75.5

pyhon if else如何嵌套if else

5、第五行代码输入if money ==1: print('土豪请上车') if seat ==1: print('有空座,坐下了') else: print('没有空座,站着等......')else:print('朋友,没带钱,跟着跑,跑快点')

pyhon if else如何嵌套if else
猜你喜欢