Commit 8416de44 by BellCodeEditor

save project

parent dcf5bc8c
Showing with 19 additions and 19 deletions
zname="python"
zmima="20111113"
while True:
name=1
\ No newline at end of file
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write(" 春晓\n春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。",font=("楷体",40,"bold")) screen=turtle.Screen()
pen.penup() screen.bgcolor("light pink")
pen.goto(-100,50) colors=["white","blue","green","yellow"]
pen.pendown() len=1
pen.color("red") pen.speed(1000)
pen.fillcolor("red") for i in range(300):
pen.begin_fill() pen.forward(len)
pen.left(45) pen.right(91)
pen.forward(100) len+=1
pen.circle(50,180) pen.hideturtle()
pen.left(-90) turtle.done()
pen.circle(50,180) \ No newline at end of file
pen.forward(100)
pen.end_fill()
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