diff --git a/Python_Begginer_Projects/Amazing/Rainbow_Circle.py b/Python_Begginer_Projects/Amazing/Rainbow_Circle.py new file mode 100644 index 0000000..1e77e2d --- /dev/null +++ b/Python_Begginer_Projects/Amazing/Rainbow_Circle.py @@ -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() \ No newline at end of file