0
点赞
收藏
分享

微信扫一扫

定义绘制线段函数

云卷云舒xj 2022-01-06 阅读 47
p2pwpfhtml


def drawLine(draw):
    t.pendown() if draw else t.penup()
    t.pencolor(r.random(),r.random(),r.random())
    t.fd(80)
    t.right(90)

举报

相关推荐

0 条评论