Commit af964912 by BellCodeEditor

save project

parent e4c1fc83
Showing with 18 additions and 10 deletions
import turtle
# pen=turtle.Pen()
# turtle.write("HELLO\n hello\n",font=("times",20,"normal"))
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
turtle.pencolor("red")
turtle.pensize(20)
turtle.left(45)
turtle.forward(100)
turtle.circle(50,180)
turtle.right(90)
turtle.circle(50,180)
turtle.forward(100)
pen.penup()
pen.goto(100,-100)
pen.write("...\n ....\n",font=("times",20,"normal"))
pen.pendown()
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(20)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.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