Commit 9e64927c by BellCodeEditor

save project

parent 4bb169fb
Showing with 3 additions and 1 deletions
...@@ -5,5 +5,6 @@ city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥','旧金山'] ...@@ -5,5 +5,6 @@ city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥','旧金山']
g=input('你想去哪里啊?') g=input('你想去哪里啊?')
if g in city: if g in city:
print('可以乘坐飞机通往'+g) print('可以乘坐飞机通往'+g)
eles: else:
pass
print('没有'+g+'这座城市') print('没有'+g+'这座城市')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment