Commit fc4c0a30 by BellCodeEditor

auto save

parent 74a635e6
Showing with 8 additions and 22 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("pink")
pen.penup()
pen.goto(100,0)
pen.write("春晓\春眠不觉晓",font=("Times",30,"normal"))
i=60
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(10)
pen1.left(45)
pen1.forward(i*2)
pen1.circle(i,180)
pen1.right(90)
pen1.circle(i,180)
pen1.forward(i*2)
pen1.hideturtle()
pen = turtle.Pen()
pen.setheading(45)
forward(100)
circle(50,180)
pen.setheading(-45)
forward(100)
circle(-50,180)
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