1 #五角星绘制 2 import turtle as t 3 t.setup(650,450) 4 t.color(‘black‘,‘red‘) 5 t.begin_fill() 6 for i in range(5): 7 t.fd(50) 8 t.rt(144) 9 t.end_fill()
#五角星绘制
原文:https://www.cnblogs.com/hwb-znnsyw/p/12496679.html