Commit 5e9e6589 by BellCodeEditor

save project

parent de5af7d1
Showing with 4 additions and 0 deletions
...@@ -5,13 +5,17 @@ pen.penup() ...@@ -5,13 +5,17 @@ pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("nuoyi,Hello!",font=("Times",30,"normal")) pen.write("nuoyi,Hello!",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
pen.pendown()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.fillcolor("red")
pen1.begin_fill()
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
pen1.circle(50,180) pen1.circle(50,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.end_fill()
pen1.hideturtle() pen1.hideturtle()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("pink") screen.bgcolor("pink")
......
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