09 2020 档案
摘要:import turtle number = int(input()) turtle.screensize(600,500,'white') turtle.pensize(3) turtle.pencolor('blue') turtle.fillcolor('yellow') turtle.beg
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:import turtleturtle.width(10)turtle.color('red')turtle.circle(50)turtle.penup()turtle.goto(120,0)turtle.pendown()turtle.color('blue')turtle.circle(50)
阅读全文
摘要:import turtle turtle.speed(0) turtle.fillcolor('black') turtle.begin_fill() turtle.circle(120,180) turtle.left(180) turtle.circle(-60,180) turtle.circ
阅读全文
摘要:import turtle turtle.pensize(5) turtle.pencolor("yellow") turtle.fillcolor("red") turtle.begin_fill() for i in range(5): turtle.forward(100) turtle.ri
阅读全文
摘要:import turtle turtle.pensize(10) # 绘制第一道彩虹 turtle.pencolor("red") turtle.left(90) turtle.circle(10,180) # 绘制第二道彩虹 turtle.pencolor("orange") turtle.lef
阅读全文
摘要: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
阅读全文
摘要:from turtle import * turtle.write("刘颖", move=False, align="left", font=("Arial", 20, "normal")) setup(700,700,200,200) pensize(20) pencolor("blue") pe
阅读全文
摘要:from turtle import * fillcolor("red") begin_fill() import turtle turtle.write("刘颖", move=False, align="left", font=("Arial", 20, "normal")) while True
阅读全文
浙公网安备 33010602011771号