Commit f66782ba by BellCodeEditor

auto save

parent 3225f2a3
Showing with 96 additions and 20 deletions
import turtle
p=turtle.Pen()
p.begin_fill()
p.fillcolor("pink")
for i in range(5):
p.forward(165)
p.right(144)
p.end_fill()
p.penup()
p.hideturtle()
p.goto(100,100)
p.pendown()
p.pensize(10)
p.fillcolor("purple")
p.begin_fill()
p.circle(100.360)
p.end_fill()
turtle.done()
import turtle
p=turtle.Pen()
p.penup()
p.hideturtle()
p.goto(85,-105)d
p.pendown()
p.pensize(1)
p.fillcolor("white")
p.begin_fill()
p.circle(100,360)
p.end_fill()
turtle.done()
# p.fillcolor("purple")
# p.begin_fill()
for i in range(5):
p.forward(165)
p.right(144)
# p.end_fill()
\ No newline at end of file
i=0
whil True:
if i ==5:
i+=1
continue
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() p=turtle.Pen()
screen=turtle.Screen() p.penup()
screen.bgcolor("yellow") p.goto(100,0)
pen.penup() p.pendown()
pen.goto(100,-100) p.hideturtle()
pen.write("诺依,turtle真好用!",font=("Time",30,"normal")) p.fillcolor("pink")
pen.hideturtle() p.begin_fill()
pen1=turtle.Pen() p.pencolor("purple")
pen1.pensize(5) p.left(180)
pen1.pencolor("red") for i in range(5):
pen1.left(45) p.forward(200)
pen1.forward(100) p.left(144)
pen1.circle(50,180) p.end_fill()
pen1.right(90) p.penup()
pen1.circle(50,180) p.goto(104,-31)
pen1.forward(100) p.pendown()
pen1.hideturtle() p.pensize(1)
turtle.done() p.left(-90)
\ No newline at end of file p.circle(105,360)
turtle.done()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment