Skip to content

Commit 5c3c26c

Browse files
Add files via upload
1 parent 41133d9 commit 5c3c26c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

draw.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import turtle
2+
t=turtle.Turtle()
3+
s=turtle.Screen()
4+
s.bgcolor("black")
5+
t.width(2)
6+
t.speed(15)
7+
8+
col=('white','pink','cyan')
9+
for i in range (300):
10+
t.pencolor(col[i%3])
11+
t.forward(i*4)
12+
t.right(121)

0 commit comments

Comments
 (0)