2020年3月17日
摘要: 1 from turtle import* 2 n=eval(input()) 3 color("black","black") 4 for i in range(4): 5 for i in range(4): 6 begin_fill() 7 fd(2*n) 8 for i in range(4 阅读全文
posted @ 2020-03-17 21:02 B·W 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑