Commit 536cea51 by BellCodeEditor

save project

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