Commit 7f58c3e3 by BellCodeEditor

save project

parent 8a43aa88
Showing with 7 additions and 3 deletions
...@@ -2,15 +2,19 @@ ...@@ -2,15 +2,19 @@
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
s=turtle.Screen() s=turtle.Screen()
s.bgcolor("pink")
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5)
# pen.write("!",font=("Times",30,"normal"))
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(100)
pen.circle(50,180) pen.circle(50,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.hideturtle()
s.bgcolor("pink")
pen.pensize(5)
pen.penup()
pen.goto(100,-100)
pen.write("!",font=("Times",30,"normal"))
turtle.done() turtle.done()
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