221import turtle
2
3COLOURS = ["red", "orange", "yellow", "green", "blue", "indigo", "violet", "white"]
4
5t = turtle.Turtle()
6t.speed(0)
7t.left(90)
8
9size = 200
10for colour in COLOURS:
11t.goto(200, 0)
12t.fillcolor(colour)
13t.begin_fill()
14t.circle(size, 180)
15t.right(180)
16t.end_fill()
17size -= 10
18
19# Challenge:
20# 1) Change the colours of the rainbow
21# 2) Draw a blue sky behind the rainbow
22# 3) Fill in the bottom half of the screen in green