Commit f9954102 by BellCodeEditor

save project

parent 1b2485f3
Showing with 12 additions and 12 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("red")
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("pink")
pen.pensize(5)
pen.pencolor("red")
pen.penup()
pen.goto(100,100)
pen.pensize(3)
pen.pencolor("blue")
pen.write("你好呀!\n若依",font=("Times",20,"normal"))
pen.goto(0,0)
pen.goto(100,-100)
pen.write("你好呀\n!",font=("Times",20,"normal"))
pen.goto(-100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.circle(r,a)
pen.right(90)
pen.circle(50,180)
pen.circle(r,a)
pen.forward(100)
pen.pensize(5)
pen.pencolor("red")
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