Let's look now at the solution to programming Challenge 25.
I've imported my turtle library and set up my window variable and I've created my turtle and set the
speed the slowest.
I've also gone ahead and created my colors to bowl with all of the colors that I needed for this challenge.
And now the last part is to write a while loop that will navigate through each one of these colors in
my tuple and use that to draw a circle filled with that color.
So I'm going to start and create a variable called eye and set it equal to zero.
And then I'm going to do while pie is smaller than Lynn colors colon.
So I'm saying while I'm smaller than the length of my colors tuple, I want to set my fill colors.
I'll do t dot fill color.
And then I need to do colors.
I that will set my fill color to the color at index.
I.
And then I need to do teed up again.
Phil?
Teed off circle 50 t dot and fill like that.
And then I equals I plus one.
So let's run this and see what it does.
So there's red, there's blue.
There's my green circle.
Yellow.
And black.
So that's how we can do this color challenge with a while loop.