Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmabiaa authored Nov 16, 2024
1 parent eed01aa commit 6b03ddb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Python_Begginer_Projects/Amazing/Rainbow_Circle.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import turtle
t = turtle.Turtle()
t.speed(10)

colors = ['red', 'orange', 'yellow', 'blue',
'green', 'indigo', 'violet']

turtle.bgcolor('black')

for i in range(36):
t.color(colors[i%7])
t.circle(100)
t.right(10)
turtle.done()

0 comments on commit 6b03ddb

Please sign in to comment.