Commit 6ba7d3df by BellCodeEditor

save project

parent 654bc3ba
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
b=turtle.Screen()
b.bgcolor("pink")
a=turtle.Pen()
a.penup()
a.goto(100,-100)
a.write("诺伊:\n 你好!\n 星光不问赶路人,时光不负有心人。",font=("Times",30,"normal"))
a.hideturtle()
a1=turtle.Pen()
a1.pensize(10)
a1.pencolor("red")
a1.left(45)
a1.forward(100)
a1.circle(50,180)
a1.right(90)
a1.circle(50,180)
a1.forward(100)
a1.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