Commit 496d3514 by BellCodeEditor

auto save

parent f899c975
Showing with 8 additions and 8 deletions
# 原代码: # 原代码:
money=10 money="10"
city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥',旧金山] city = ['纽约','华盛顿','桃源岛','洛杉矶','芝加哥','旧金山']
raise=input('你想去哪里啊?') r=input('你想去哪里啊?')
if raise in city if r in city:
print('可以乘坐飞机通往'+raise) print('可以乘坐飞机通往'+r)
print("去"+raise+"需要"+moey+"元) print("去"+r+"需要"+int(money)+"元)
else: else:
print('没有'+raise+'这座城市') print('没有'+r+'这座城市')
\ 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