python 绘制五角星
import turtle
def main():
count = 1
while count <= 5:
turtle.forward(100)
turtle.right(144)
count = count + 1
turtle.exitonclick()
if __name__== ‘_main_‘:
main()
python 绘制五角星
原文地址:https://www.cnblogs.com/cmw1024/p/13443096.html
import turtle
def main():
count = 1
while count <= 5:
turtle.forward(100)
turtle.right(144)
count = count + 1
turtle.exitonclick()
if __name__== ‘_main_‘:
main()
python 绘制五角星
原文地址:https://www.cnblogs.com/cmw1024/p/13443096.html