import turtle
import math
sin_36=math.sin(math.pi/5)
cos_36=math.cos(math.pi/5)
sin_18=math.sin(math.pi/10)
cos_18=math.cos(math.pi/10)
lside=200 #五角星边长为200,下面都是计算过程
turtle.goto(0,0)
turtle.goto(lside*cos_36,lside*sin_36)
turtle.goto(lside*cos_36-200,lside*sin_36)
turtle.goto(2*lside*cos_36-200,0)
turtle.goto(lside*sin_18,lside*cos_18)
turtle.goto(0,0)
turtle.done
turtle.exitonclick()
10-10
1263
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)