Commit d9584f5d by BellCodeEditor

auto save

parent 1bad0edb
Showing with 15 additions and 0 deletions
city=["纽约","洛杉矶","桃园岛","旧金山"]
r=input("你想去哪里?")
if r in city:
print("可以乘坐飞机"+r)
else:
print("没有"+r+"这座城市")
\ No newline at end of file
city=["纽约","洛杉矶","桃园岛","旧金山"]
city=["纽约","洛杉矶","桃园岛","旧金山"]
raise=input("你想去哪里?")
if raise in city:
print("可以乘坐飞机"+raise)
else:
print("没有"+raise+"这座城市")
\ 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