Commit a764eed2 by BellCodeEditor

save project

parent 17f607cc
Showing with 19 additions and 1 deletions
import turtle
pen = turtle.Pen()
pen.write("春晓\n春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。\n",font= ('行云流水',9,"bold"))
pen.penup()
pen.goto(100,100)
pen.color("red")
pen.write("春晓\n春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。\n",font= ('行云流水',20,"bold"))
pen.goto(0,0)
pen.down()
pen.pensize(10)
pen.fillcolor('red')
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()
screen = turtle.Screen()
screen.bgcolor("pink")
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