From a6e166259e3ab53a918845929d96bc17cff25f0c Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 9 Jan 2022 14:43:23 +0800 Subject: [PATCH] save project --- diy1.py | 3 ++- quiz.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/diy1.py b/diy1.py index 7638f85..490bbdc 100644 --- a/diy1.py +++ b/diy1.py @@ -4,6 +4,7 @@ import turtle pen=turtle.Pen() screen=turtle.Screen() pen.speed('fast') +pen.speed(10) pen.hideturtle() screen.bgcolor('black') @@ -18,4 +19,4 @@ while i<135: pen.left(2) i+=1 -turtle.done() \ No newline at end of file +turtle.done() diff --git a/quiz.py b/quiz.py index 609b068..5098ae8 100644 --- a/quiz.py +++ b/quiz.py @@ -2,7 +2,7 @@ area = ['盘丝洞','白骨洞','大雁塔'] monster = {'盘丝洞':'蜘蛛精','白骨洞': '白骨精','大雁塔':'花妖'} # 打印出大雁塔 -print(area[3]) +print(area[2]) # 向字典中添加 '地府':'僵尸' -monster.append('地府','僵尸') +monster.append('地府':'僵尸') print(monster) \ No newline at end of file -- libgit2 0.25.0