摘要: import turtle number = int(input()) turtle.screensize(600,500,'white') turtle.pensize(3) turtle.pencolor('blue') turtle.fillcolor('yellow') turtle.beg 阅读全文
posted @ 2020-09-28 20:53 减辞 阅读(64) 评论(0) 推荐(0)
摘要: rmin=eval(input()) number=eval(input()) color=input() import turtle as t t.pencolor(color) t.pensize(4) for i in range (number): t.circle(rmin) rmin=r 阅读全文
posted @ 2020-09-28 20:49 减辞 阅读(106) 评论(0) 推荐(0)
摘要: import turtle as t t.pencolor("black") t.fd(200) t.seth(120) t.fd(200) t.seth(-120) t.fd(200) t.seth(0) t.fd(100) t.seth(60) t.fd(100) t.seth(180) t.f 阅读全文
posted @ 2020-09-28 20:44 减辞 阅读(96) 评论(0) 推荐(0)
摘要: import turtle turtle.speed(30) turtle.penup() off = True for y in range(-40, 30 + 1, 10): for x in range(-40, 30 + 1, 10): if off: turtle.goto(x, y) t 阅读全文
posted @ 2020-09-28 20:41 减辞 阅读(102) 评论(0) 推荐(0)
摘要: import turtleturtle.width(10)turtle.color('red')turtle.circle(50)turtle.penup()turtle.goto(120,0)turtle.pendown()turtle.color('blue')turtle.circle(50) 阅读全文
posted @ 2020-09-28 20:34 减辞 阅读(148) 评论(0) 推荐(0)
摘要: import turtle turtle.speed(0) turtle.fillcolor('black') turtle.begin_fill() turtle.circle(120,180) turtle.left(180) turtle.circle(-60,180) turtle.circ 阅读全文
posted @ 2020-09-28 20:31 减辞 阅读(73) 评论(0) 推荐(0)
摘要: import turtle turtle.pensize(5) turtle.pencolor("yellow") turtle.fillcolor("red") turtle.begin_fill() for i in range(5): turtle.forward(100) turtle.ri 阅读全文
posted @ 2020-09-28 20:27 减辞 阅读(100) 评论(0) 推荐(0)