i.py 173 Bytes Edit 1 2 3 4 5 6 city = ['纽约','芝加哥','旧金山'] a = input("你想去哪里") if a in city: print ('可以乘坐飞机通往'+a) else: print("没有"+a+'这座城市')