Commit 95f375ef by BellCodeEditor

auto save

parent bcd92ad6
Showing with 48 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("red")
pen.pencolor("yellow")
pen.forward(20)
pen.fillcolor("light yellow")
pen.begin_fill()
pen.circle(100,348)
pen.end_fill()
pen.penup()
pen.goto(60,100)
pen.pendown()
pen.fillcolor("black")
pen.begin_fill()
pen.circle(10,348)
pen.end_fill()
pen.penup()
pen.goto(-30,100)
pen.pendown()
pen.fillcolor("black")
pen.begin_fill()
pen.circle(10,348)
pen.end_fill()
pen.penup()
pen.goto(18,90)
pen.pendown()
pen.right(25)
pen.fillcolor("red")
pen.begin_fill()
for i in range(3):
pen.forward(24)
pen.right(120)
pen.end_fill()
pen.penup()
pen.goto(10,30)
pen.pendown()
pen.fillcolor("red")
pen.begin_fill()
pen.circle(10,348)
pen.end_fill()
pen.penup()
pen.goto(100,-100)
pen.pendown()
pen.write("大家好\n我是张飞扬\n我今年13岁",font=("宋体",20,"normal"))
turtle.done()
\ No newline at end of file
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