09 2020 档案

摘要: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)
摘要:import turtle turtle.pensize(10) # 绘制第一道彩虹 turtle.pencolor("red") turtle.left(90) turtle.circle(10,180) # 绘制第二道彩虹 turtle.pencolor("orange") turtle.lef 阅读全文
posted @ 2020-09-21 19:56 减辞 阅读(79) 评论(0) 推荐(0)
摘要:import turtle as t t.pencolor("blue") 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.fd 阅读全文
posted @ 2020-09-15 23:37 减辞 阅读(58) 评论(0) 推荐(0)
摘要:from turtle import * turtle.write("刘颖", move=False, align="left", font=("Arial", 20, "normal")) setup(700,700,200,200) pensize(20) pencolor("blue") pe 阅读全文
posted @ 2020-09-15 23:34 减辞 阅读(52) 评论(0) 推荐(0)
摘要:from turtle import * fillcolor("red") begin_fill() import turtle turtle.write("刘颖", move=False, align="left", font=("Arial", 20, "normal")) while True 阅读全文
posted @ 2020-09-15 23:20 减辞 阅读(83) 评论(0) 推荐(0)