标签:style python 1 width nbsp 技术 图片 python inf war
先上效果图:
代码:
import turtle t = turtle.Pen() turtle.bgcolor("black") sides=6 colors=["red","yellow","green","blue","orange","purple"] for x in range(360): t.pencolor(colors[x%sides]) t.forward(x*5/sides+x) t.left(360/sides+1) t.width(x*sides/200) print("####结束####")
标签:style python 1 width nbsp 技术 图片 python inf war
原文地址:https://www.cnblogs.com/Rime/p/11298598.html