From 8715bd39ac541b45f0bf4a8c8bd26648f316ac46 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 5 Mar 2022 19:03:32 +0800 Subject: [PATCH] auto save --- diy4弹簧隧道.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git "a/diy4\345\274\271\347\260\247\351\232\247\351\201\223.py" "b/diy4\345\274\271\347\260\247\351\232\247\351\201\223.py" index 6d3f4fc..f293ead 100644 --- "a/diy4\345\274\271\347\260\247\351\232\247\351\201\223.py" +++ "b/diy4\345\274\271\347\260\247\351\232\247\351\201\223.py" @@ -1,13 +1,11 @@ import turtle pen=turtle.Pen() -screen=turtle.Screen() -pen.speed('fast') -pen.hideturtle() -screen.bgcolor('black') +#screen=turtle.Screen() +# i=0 -while i<135: +'''while i<135: pen.pencolor('pink') pen.penup() pen.goto(0,0) @@ -16,5 +14,14 @@ while i<135: pen.circle(100) pen.left(2) i+=1 - +''' +while True: + pen.pencolor('pink') + pen.penup() + pen.goto(0,0) + pen.forward(200) + pen.pendown() + pen.circle(100) + pen.left(2) + turtle.done() \ No newline at end of file -- libgit2 0.25.0