Commit 6996a001 by BellCodeEditor

save project

parent e6b6a9e1
Showing with 21 additions and 0 deletions
import turtle
x=turtle.Screen()
x.bgcolor("light blue")
a=turtle.Pen()
a.penup()
a.goto(100,-100)
a.write("明月几时有,\n把酒问青天。",font=("Times",20,"normal"))
a.hideturtle()
v=50
b=turtle.Pen()
b.pensize(10)
b.pencolor("red")
b.left(45)
b.forward(2*v)
b.circle(v,180)
b.right(90)
b.circle(v,180)
b.forward(2*v)
b.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