Commit 73c1cdc6 by BellCodeEditor

save project

parent 24d0c107
Showing with 7 additions and 4 deletions
import turtle import turtle
# pen=turtle.Pen()
# pen.write("Hello world\nHi",font=("Times",20,"normal"))
# pen.hideturtle()
# turtle.done()
pen=turtle.Pen() pen=turtle.Pen()
pen.goto(150,-50)
pen.write("Hello world\nHi",font=("Times",20,"normal"))
turtle.goto(0,-10)
pen.fillcolor("red")
pen.begin_fill()
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5) pen.pensize(5)
pen.left(45) pen.left(45)
...@@ -13,4 +14,5 @@ pen.right(90) ...@@ -13,4 +14,5 @@ pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.hideturtle() pen.hideturtle()
pen.end_fill()
turtle.done() 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