Commit 849808db by BellCodeEditor

save project

parent 07858a54
Showing with 22 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("Hi,\npython不有趣",font=("Times",18,"normal"))
pen.hideturtle()
p=turtle.Pen()
p.pensize(5)
p.pencolor("red")
len=60
p.left(45)
p.forward(2*len)
p.circle(len,180)
p.right(90)
p.circle(len,180)
p.forward(2*len)
pen.hideturtle()
turtle.done()
\ No newline at end of file
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