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