From 2c3163a4fdad9dcd46c38d79e600a616bcd865d7 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 6 Mar 2022 19:08:51 +0800 Subject: [PATCH] save project --- 1.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/1.py b/1.py index 8d3ea4b..067d696 100644 --- a/1.py +++ b/1.py @@ -1,6 +1,10 @@ import turtle pen=turtle.Pen() +screen=turtle.Screen() +screen.bgcolor("black") +colors=["red","yellow","purple","green"] for i in range(1,300): + pen.pencolor(colors[i%4]) pen.forward(i) pen.right(91) pen.hideturtle() -- libgit2 0.25.0