Commit 766353b0 by BellCodeEditor

save project

parent 8c3bf48b
Showing with 7 additions and 2 deletions
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
s=turtle.Screen() s=turtle.Screen()
e=int(s.textinput("提示",""))
s.bgcolor("pink")
pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(100)
...@@ -10,8 +16,7 @@ pen.right(90) ...@@ -10,8 +16,7 @@ pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.hideturtle() pen.hideturtle()
s.bgcolor("pink")
pen.pensize(5)
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("!",font=("Times",30,"normal")) pen.write("!",font=("Times",30,"normal"))
......
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