Commit f638385c by BellCodeEditor

save project

parent 654bc3ba
Showing with 21 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")
p.left(45)
p.forward(100)
p.circle(50,180)
p.right(90)
p.circle(50,180)
p.forward(100)
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