代码:
#FiveStar.py
from turtle import *
pensize(5)
pencolor('red')
color('yellow','red')
begin_fill()
for i in range(5):
forward(450)
right(144)
end_fill()
代码截图:
代码效果:
代码:
#FiveStar.py
from turtle import *
pensize(5)
pencolor('red')
color('yellow','red')
begin_fill()
for i in range(5):
forward(450)
right(144)
end_fill()
代码截图:
代码效果: