2020年3月17日
摘要: 1 from turtle import* 2 color('black','black') 3 begin_fill() 4 circle(-50,180) 5 circle(50,180) 6 circle(100,180) 7 pu() 8 left(90) 9 fd(40) 10 right 阅读全文
posted @ 2020-03-17 20:21 B·W 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1 from turtle import* 2 coordA=(-110,0,110,-55,55) #五个图起点坐标的x值 3 coordB=(-25,-25,-25,-75,-75) #五个圆起点坐标的y值 4 colorA=('red','blue','green','yellow','bla 阅读全文
posted @ 2020-03-17 19:44 B·W 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1 from turtle import* 2 seth(-120) 3 for i in range(3): 4 for i in range(3): 5 fd(100) 6 left(120) 7 left(60) 8 right(60) 9 fd(100) 10 seth(-60) 11 fo 阅读全文
posted @ 2020-03-17 18:31 B·W 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 1 from turtle import* 2 n=eval(input()) 3 a=3 4 color("blue","yellow") 5 begin_fill() 6 for i in range(n-2): 7 circle(50,steps=a) 8 fd(50) 9 a=a+1 10 阅读全文
posted @ 2020-03-17 18:15 B·W 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1 from turtle import* 2 r=eval(input()) 3 n=eval(input()) 4 c=input() 5 pencolor(c) 6 for i in range(n): 7 circle(r) 8 pu() 9 right(90) 10 fd(20) 11 l 阅读全文
posted @ 2020-03-17 16:24 B·W 阅读(216) 评论(0) 推荐(0) 编辑
  2020年3月14日
摘要: 1 from turtle import* 2 for i in range(3): 3 fd(50) 4 right(120) 5 right(120) 6 fd(-50) 7 for i in range(3): 8 fd(100) 9 left(120) 阅读全文
posted @ 2020-03-14 19:46 B·W 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1 from turtle import* 2 pu() 3 goto(-100,0) 4 pd() 5 seth(30) 6 for i in range(3): 7 fd(200) 8 right(120) 9 pu() 10 goto(100,0) 11 pd() 12 seth(150) 1 阅读全文
posted @ 2020-03-14 19:45 B·W 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 1 from turtle import* 2 fd(-150) 3 color("black","red") 4 begin_fill() 5 for i in range(5): 6 fd(300) 7 right(144) 8 end_fill() 9 hideturtle() 阅读全文
posted @ 2020-03-14 19:37 B·W 阅读(151) 评论(0) 推荐(0) 编辑