Commit 536cea51 by BellCodeEditor

save project

parent 630fd068
Showing with 10 additions and 40 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write(" 春晓\n春眠不觉晓,处处闻啼鸟。\n夜来风雨声,花落知多少。",font=("楷体",15,"bold")) pen.speed(10)
pen.penup() len=1
pen.goto(-100,50) for i in range(300):
pen.pendown() pen.forward(len)
pen.speed(15) pen.right(91)
pen.color("red") len+=1
pen.fillcolor() pen.hideturtle()
pen.begin_fill() turtle.done()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill()
pen.size(10)
pen.color("orange")
pen.penup()
pen.goto()
pen.pendown()
pen.circle(80)
pen.penup()
pen.goto()
pen.pendown()
pen.circle(80)
pen.penup()
pen.goto()
pen.pendown()
pen.circle(80)
pen.penup()
pen.goto()
pen.pendown()
pen.circle(80)
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