Skip to content

Commit c619bf9

Browse files
authored
Add files via upload
1 parent 81e3f10 commit c619bf9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Fifth/fifth.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import turtle
2+
3+
turtle.bgcolor("black")
4+
turtle.speed(60)
5+
turtle.hideturtle()
6+
7+
Colors = ["yellow", "red", "yellow", "red"]
8+
9+
for i in range (120):
10+
for c in Colors:
11+
turtle.color(c)
12+
turtle.circle(100-i, 100)
13+
turtle.lt(90)
14+
turtle.circle(100-i, 100)
15+
turtle.rt(60)
16+
turtle.end_fill()
17+
18+
turtle.mainloop()

0 commit comments

Comments
 (0)