Commit 1e348cc8 by BellCodeEditor

save project

parent 717e4426
Showing with 7 additions and 4 deletions
......@@ -3,21 +3,23 @@ import random
len=random.randint(10,50)
pen=turtle.Pen()
screen=turtle.Screen()
screen.textinput("sb","sb")
screen.bgcolor("light blue")
pen.speed(100)
pen.speed(1)
pen.penup()
pen.goto(150,-100)
pen.write("sb",font=("Times",30,"normal"))
pen.color("red")
pen.goto(50,0)
pen.pendown()
pen.right(45)
pen.left(90)
pen.circle(len,180)
pen.right(180)
pen.right(135)
pen.circle(len,180)
pen.left(35)
pen.left(45)
pen.forward(len*2)
pen.left(112)
pen.left(90)
pen.forward(len*2)
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