Commit 57de0d57 by BellCodeEditor

auto save

parent d9e6553d
Showing with 24 additions and 1 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("light green")
pen.penup()
pen.goto(100,-100)
pen.write("你好!",font=("Times",20,"normal"))
pen1=turtle.Pen()
pen1.pensize(6)
pen1.pencolor("red")
pen1.fillcolor("red")
pen1.begin_fill()
len=60
pen1.left(45)
pen1.forward(len*2)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(len*2)
pen1.hideturtle()
pen1.end_fill()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.pensize(5)
pen.pencolor("red")
......
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