09 2020 档案
摘要:from turtle import * screensize(500,500) #【头部轮廓】 pensize(5) home() seth(0) pd() color('black') circle(20,80)#0 circle(200,30)#1 circle(30,60)#2 circle
阅读全文
摘要:#绘制大耳朵兔 from turtle import * speed(10) #小兔的面部 color('pink') pensize(5) circle(radius=100)#脸 #眼睛 pencolor('black') #左眼 pu() goto(-45,92) pd() begin_fil
阅读全文
摘要:import turtle as t t.pencolor("blue") #笔触为蓝色 #绘制外部大三角形 t.fd(200) t.seth(120) t.fd(200) t.seth(-120) t.fd(200) #绘制内部小三角形 t.seth(0) t.fd(100) t.seth(60)
阅读全文
摘要:import turtle turtle.penup() turtle.fd(-100) turtle.pendown() turtle.pensize(10) turtle.pencolor("green") turtle.left(30) turtle.forward(100) turtle.r
阅读全文
摘要:import turtle turtle.setup(500,500) turtle.fillcolor("red") turtle.begin_fill() for i in range(5): turtle.fd(100) turtle.right(144) turtle.end_fill()
阅读全文
浙公网安备 33010602011771号