Python绘制一个红色五角星
from turtle import *fillcolor("red")begin_fill()while True:forward(200)right(144)if abs(pos()) < 1:breakend_fill()
时间:2022-10-27 14:24:27
Python绘制一个红色五角星
from turtle import *fillcolor("red")begin_fill()while True:forward(200)right(144)if abs(pos()) < 1:breakend_fill()