資源簡介
基于Turtle
代碼片段和文件信息
import?turtle?as?t
import?random?as?r
w?=?t.Screen()
w.bgcolor(“black“)
def?draw_star(x?y?size?color):
????t.penup()
????t.setposition(x?y)
????t.pendown()
????t.pencolor(color)
????t.fillcolor(color)
????t.begin_fill()
???
- 上一篇:python 實現 屏幕水印
- 下一篇:cs破解工具
評論
共有 條評論