00:01
Okay, in this problem, we're drawing a five -pointed star in python.
00:08
And we're given the hint that, so this is an asymmetric star, so the angle between the vertices will be 36 degrees apart.
00:17
So this is pretty straightforward.
00:20
So we'll just want to get in our python command window and bring our turtle graphics window up, as i've done here.
00:29
So we'll just need to import turtle and show turtle and so we'll just need to use two commands here the turn right and the go forward commands and so in the beginning the default is the pointer is pointing to the right and so we want it to so turn so to rotate 90 degrees minus one half of our vertex angle.
01:03
So our vertex angle is 36 degrees.
01:05
So we're going to start by rotating 90 minus 18 or 72 degrees.
01:10
We'll go turtle to go turn right, 72 degrees.
01:16
And for each leg, we'll just have it move forward by any distance, as long as the distances are the same.
01:24
So i'll choose 200 for this one.
01:27
And now for each, for each, for each turn, we want a 36 degree angle...