摘要:
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) 阅读全文
posted @ 2020-09-15 23:08
大兔xx
阅读(79)
评论(0)
推荐(0)
摘要:
import turtle turtle.penup() turtle.fd(-100) turtle.pendown() turtle.pensize(10) turtle.pencolor("green") turtle.left(30) turtle.forward(100) turtle.r 阅读全文
posted @ 2020-09-15 23:05
大兔xx
阅读(81)
评论(0)
推荐(0)
摘要:
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() 阅读全文
posted @ 2020-09-15 22:59
大兔xx
阅读(90)
评论(0)
推荐(0)
浙公网安备 33010602011771号