Commit 1b26841f by BellCodeEditor

save project

parent a50ceeec
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
a=turtle.Screen()
a.bgcolor("pink")
Pen=turtle.Pen()
Pen.penup()
Pen.goto(100,-100)
Pen.write("你好呀\nhi",font=("Times",13,"normal"))
Pen.hideturtle()
len=50
Pen1=turtle.Pen()
Pen1.pensize(5)
Pen1.pencolor("red")
Pen1.left(45)
Pen1.forward(len*2)
Pen1.circle(len,180)
Pen1.right(90)
Pen1.circle(len,180)
Pen1.forward(len*2)
Pen1.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