From 2694d41a045f2836ca5b6b699781e036d52fc4ba Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 23 Jul 2022 16:02:30 +0800 Subject: [PATCH] save project --- diy1.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/diy1.py b/diy1.py index c97816b..6dcebfe 100644 --- a/diy1.py +++ b/diy1.py @@ -1,15 +1,15 @@ # 悟空想海龟作图画出弹簧隧道,但是出现了bug,运行不了,请你帮助他,修改bug~ import turtle - + pen=turtle.Pen() screen=turtle.Screen() -pen.speed() +pen.speed(-10) pen.hideturtle() -screen.bgcolor('black') +screen.bgcolor('red') i=0 -while i<135: - pen.pencolor('pink') +while i<189: + pen.pencolor('black') pen.penup() pen.goto(0,0) pen.forward(200) -- libgit2 0.25.0