From 2031d757fde092cb309a6859f02790c8a01f499f Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 27 Nov 2020 18:12:22 +0800 Subject: [PATCH] save project --- diy1.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index 1098a6a..adec685 100644 --- a/diy1.py +++ b/diy1.py @@ -9,4 +9,6 @@ students.append("诺依") # 班上准备开始辩论赛,分为红(red)、蓝(blue)组, # 请用切片将班级列表的前2名加入到红组,后2名加入到蓝组 red = students[0:2] -blue = students[3:] +blue = students[2:] +print(red) +print(blue) \ No newline at end of file -- libgit2 0.25.0