Commit 2fb957a4 by BellCodeEditor

save project

parent 57c58262
Showing with 7 additions and 6 deletions
city = ['纽约','芝加哥','旧金山'] stonenumber=3
a = input("你想去哪里") if stonenumber>=4:
if a in city: print ("1")
print ('可以乘坐飞机通往'+a) elif 1<= stonenumber <= 3:
print ('2')
else: else:
print("没有"+a+'这座城市') print ("3")
\ No newline at end of file \ 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