Commit d9ac7ff6 by BellCodeEditor

save project

parent c816b9b8
Showing with 23 additions and 0 deletions
import turtle
pen1 = turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.write("哈哈哈\n哈哈哈哈\n哈哈哈哈哈",font=("Times",10,"normal"))
pen1.hideturtle()
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("#abcdef")
pen.color("red")
pen.pensize(10)
len = 100
pen.left(45)
pen.fd(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.fd(2*len)
pen.hideturtle()
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