摘要: import turtle as t t.pensize(2) t.penup() t.goto(0,-200) t.pendown() #初始化海龟位置 coordA=(0,0) #小圆起点坐标的x值 coordB=(120,-80) #小圆起点坐标的y值 color=("black","whit 阅读全文
posted @ 2020-09-24 23:03 英魂 阅读(2308) 评论(0) 推荐(0)
摘要: import turtle as t t.pensize(5) coordA=(-110,0,110,-55,55) #五个图起点坐标的x值 coordB=(-25,-25,-25,-75,-75) #五个圆起点坐标的y值 color=("red","blue","green","yellow"," 阅读全文
posted @ 2020-09-24 23:00 英魂 阅读(401) 评论(0) 推荐(0)
摘要: import turtle as t n = eval(input()) t.penup() t.goto(-350,0) t.pendown() t.pensize(2) t.color("blue","yellow") t.begin_fill() for i in range(3,n): t. 阅读全文
posted @ 2020-09-24 22:57 英魂 阅读(2134) 评论(0) 推荐(0)
摘要: import turtle as a m = eval(input())#圆的半径 n = eval(input())#圆的个数 c = input()#画笔的颜色 a.pencolor("{}".format(c)) for i in range(n): a.penup() a.goto(0, - 阅读全文
posted @ 2020-09-24 22:53 英魂 阅读(1989) 评论(0) 推荐(0)
摘要: import turtle turtle.pensize(5 ) turtle.pencolor("yellow") turtle.fillcolor("red") turtle.begin_fill() for i in range(5): turtle.forward(200) turtle.r 阅读全文
posted @ 2020-09-24 22:45 英魂 阅读(109) 评论(0) 推荐(0)