Skip to content

Commit 89b905e

Browse files
authored
Add files via upload
1 parent 34ae224 commit 89b905e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

First/first.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import turtle
2+
import colorsys
3+
4+
t= turtle.Turtle()
5+
s= turtle.Screen().bgcolor('black')
6+
t.speed(0)
7+
8+
n=70
9+
h=0
10+
11+
for i in range (360):
12+
c= colorsys.hsv_to_rgb(h, 1, 0.8)
13+
h+= 1/n
14+
t.color(c)
15+
t.left(1)
16+
t.fd(1)
17+
for j in range (2):
18+
t.left(2)
19+
t.circle(108)

0 commit comments

Comments
 (0)