摘要: import turtle as t def draw(): t.left(30) t.forward(50) def draw_circle(): t.right(120) t.forward(50) t.right(120) t.forward(50) t.right(120) t.forwar 阅读全文
posted @ 2022-10-15 23:53 Selina风乎舞雩 阅读(204) 评论(0) 推荐(0)
摘要: import turtle as t def draw(): t.forward(150) def draw_circle(): t.right(120) t.forward(150) t.right(120) t.forward(150) t.right(120) t.forward(150) t 阅读全文
posted @ 2022-10-15 16:43 Selina风乎舞雩 阅读(131) 评论(0) 推荐(0)
摘要: t.left(120) t.fillcolor("#fff000") def draw_circle(): t.begin_fill() t.hideturtle() t.pensize(4) l=150 t.color("green") t.circle(-l,90) t.right(90) t. 阅读全文
posted @ 2022-10-15 10:49 Selina风乎舞雩 阅读(26) 评论(0) 推荐(0)
摘要: 基本方法: import turtle as t def draw(): t.hideturtle() t.pensize(4) t.color("red") t.goto(50,0) t.seth(90) t.forward(50) t.left(90) t.forward(100) t.left 阅读全文
posted @ 2022-10-15 09:51 Selina风乎舞雩 阅读(194) 评论(0) 推荐(0)