Commit ddaad923 by BellCodeEditor

auto save

parent 07858a54
Showing with 26 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen.penup()
pen.goto(100,-100)
pen.write("两只黄鹂谈恋爱\n一只乌鸦来捣乱\n黄鹂变成奥特曼\n打的乌鸦稀巴烂",font=("Times",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
len=77
pen1.pensize(5)
pen1.pencolor("red")
pen1.fillcolor("red")
pen1.begin_fill()
pen1.left(45)
pen1.forward(len*2)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(len*2)
pen1.end_fill()
pen1.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