python画图函数

python画图函数 1.使用turtle模块python import turtle 2.画笔状态函数web turtle.penup() #提起画笔,移动以后不会绘制图形 turtle.pendown() #放下画笔,移动以后绘制图形,与penup()配套使用 turtle.pensize(width) #设置画笔线条的粗细,()中填数字,数字越大,笔越粗 turtle.speed()
相关文章
相关标签/搜索