Commit 6e987492 by BellCodeEditor

save project

parent 34cdf11d
Showing with 64 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
pen.left(45)
pen.forward(100)
pen.left(90)
pen.circle(50,180)
pen.left(180)
pen.forward(100)
pen.right(90)
pen.circle(-50,180)
turtle.done()
pen.hideturtle()
\ No newline at end of file
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
pen.penup()
pen.goto(-100,50)
pen.pensize(20)
pen.pencolor("blue")
pen.pendown()
pen.circle(40)
pen.penup()
pen.goto(-15,50)
pen.pensize(20)
pen.pencolor("black")
pen.pendown()
pen.circle(40)
pen.penup()
pen.goto(70,50)
pen.pensize(20)
pen.pencolor("red")
pen.pendown()
pen.circle(40)
pen.penup()
pen.goto(-60,-10)
pen.pensize(20)
pen.pencolor("yellow")
pen.pendown()
pen.circle(40)
pen.penup()
pen.goto(25,-10)
pen.pensize(20)
pen.pencolor("green")
pen.pendown()
pen.circle(40)
turtle.done()
pen.hideturtle()
\ No newline at end of file
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("pink")
text=screen.textinput("元旦快乐","你有想说的祝福语吗?")
pen.write(text,font=("Time",20,"normal"))
pen.hideturtle()
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