Commit 8fd90de3 by BellCodeEditor

save project

parent 654bc3ba
Showing with 30 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
s.bgcolor("pink")
p=turtle.Pen()
p.up()
p.goto(50,-100)
p.write("诺依,turtle真好用。\n我也喜欢python~。\n————悟空",font=("楷体",15,"normal"))
p.hideturtle()
p1=turtle.Pen()
p1.pencolor("red")
p1.pensize(5)
p1.up()
p1.goto(-70,50)
p1.down()
p1.left(45)
p1.forward(120)
p1.circle(60,180)
p1.right(90)
p1.circle(60,180)
p1.forward(120)
p1.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