From 2fb957a45b37a0449e947e60948b42a3ed722731 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 11 Sep 2021 09:31:54 +0800 Subject: [PATCH] save project --- p.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/p.py b/p.py index 5d6c524..37de837 100644 --- a/p.py +++ b/p.py @@ -1,6 +1,7 @@ -city = ['纽约','芝加哥','旧金山'] -a = input("你想去哪里") -if a in city: - print ('可以乘坐飞机通往'+a) +stonenumber=3 +if stonenumber>=4: + print ("1") +elif 1<= stonenumber <= 3: + print ('2') else: - print("没有"+a+'这座城市') \ No newline at end of file + print ("3") \ No newline at end of file -- libgit2 0.25.0