摘要: import turtle turtle.fillcolor("red") turtle.begin_fill() count = 1 while count <= 5: turtle.forward(100) turtle.right(144) count += 1 turtle.end_fill 阅读全文
posted @ 2020-03-12 00:17 youngTW 阅读(128) 评论(0) 推荐(0)
摘要: import turtle as t t.setup(1000,1000,200,200) t.pu() t.fd(50) t.left(-90) t.fd(100) t.right(90) t.pd() t.pensize(5) t.pencolor("black") for i in range 阅读全文
posted @ 2020-03-12 00:13 youngTW 阅读(125) 评论(0) 推荐(0)
摘要: import turtle as t t.pencolor("black") t.penup() t.fd(-80) t.pendown() t.fd(200) t.seth(120) t.fd(200) t.seth(-120) t.fd(200) t.seth(0) t.fd(100) t.se 阅读全文
posted @ 2020-03-12 00:11 youngTW 阅读(150) 评论(0) 推荐(0)