Commit 1120c3b3 by BellCodeEditor

auto save

parent 70e1dbab
Showing with 12 additions and 0 deletions
...@@ -16,13 +16,25 @@ ...@@ -16,13 +16,25 @@
# pen.left(45) # pen.left(45)
# pen.forward(2*len) # pen.forward(2*len)
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("yellow")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好啊\n2",font=("Times",20,"normal"))
pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.fillcolor("light blue")
pen1.pencolor("sky blue")
pen1.pensize(50)
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()
turtle.done() turtle.done()
# pen.circle(len,180) # pen.circle(len,180)
# pen.right(90) # pen.right(90)
......
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