摘要: import turtle as tt.color("red","yellow")t.begin_fill()for i in range(50): t.fd(200) t.left(170)t.end_fill()t.done() 阅读全文
posted @ 2020-09-24 17:12 nanfengnan 阅读(517) 评论(0) 推荐(0) 编辑
摘要: import turtle as tt.setup(700,600)t.penup()t.fd(-250)t.pendown()t.pencolor("purple") t.pensize(34)t.seth(-40)for i in range(4): t.circle(40,80) t.circ 阅读全文
posted @ 2020-09-24 16:29 nanfengnan 阅读(185) 评论(0) 推荐(0) 编辑
摘要: from turtle import *color('red','red')begin_fill()for i in range(5): fd(200) rt(144)end_fill()done() 阅读全文
posted @ 2020-09-24 15:33 nanfengnan 阅读(137) 评论(0) 推荐(0) 编辑
摘要: import turtle#同切圆的绘制turtle.pensize(2)turtle.circle(10)turtle.circle(40)turtle.circle(80)turtle.circle(160) 阅读全文
posted @ 2020-09-24 15:30 nanfengnan 阅读(335) 评论(0) 推荐(0) 编辑