diff --git a/area.py b/area.py index 3121272..dba333e 100644 --- a/area.py +++ b/area.py @@ -1,9 +1,7 @@ -# 假期到了,诺依想出去玩,但不知道有没有飞机直达那里, -# 悟空做了个小程序帮助诺依,然而代码出现了3处错误。 -# 请你找出来,并运行~ -city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥',"旧金山"] -cod=input('你想去哪里啊?') -if cod in city: - print('可以乘坐飞机通往'+cod) +stonenumber=4 +if stonenumber >=4: + print("sb") +elif 1<=stonenumber <=3: + print("sd") else: - print('没有'+cod+'这座城市') \ No newline at end of file + print("sp") \ No newline at end of file