Python-任务六

海龟绘图(Turtle Graphics) 1、在PyCharm中安装turtle 2、绘制太阳花 import turtle turtle.color("red","yellow") #画笔颜色、填充颜色 turtle.speed(10)#速度 turtle.begin_fill()#准备开始填充 for _ in range(50): turtle.forward(200) #向前
相关文章
相关标签/搜索