Commit 6c3dc95c by BellCodeEditor

save project

parent 43e1ee5c
Showing with 2 additions and 0 deletions
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥','旧金山'] city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥','旧金山']
sty=input('你想去哪里啊?') sty=input('你想去哪里啊?')
if sty in city: if sty in city:
print('可以乘坐飞机通往'+sty) print('可以乘坐飞机通往'+sty)
else: else:
print('没有'+sty+'这座城市') print('没有'+sty+'这座城市')
\ 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