Commit 14ea4e21 by BellCodeEditor

save project

parent dd3a7ebe
Showing with 6 additions and 1 deletions
import turtle
pen=turtle.Pen()
pen.fillcolor("red")
screen=turtle.Screen()
screen.bgcolor("purple")
screen.bgcolor("pink")
pen.write("老师好",font=("Times",30,"normal"))
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.begin_fill()
pen.left(45)
pen.forward(100)
......@@ -13,4 +16,5 @@ pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill()
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