Commit 2a395cfe by BellCodeEditor

save project

parent 9be51128
Showing with 14 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# p=turtle.Pen() screen=turtle.Screen()
# p.write("诺依,你的遗言我收到\n了,银行卡我收下了\n:-D",font=("Time",25,"normal")) screen.bgcolor('light blue')
# p.hideturtle() p=turtle.Pen()
# turtle.done() p.up()
p.goto(-100,-100)
p.down()
p.write("诺依,你的遗言我收到\n了,银行卡我收下了\n:-D",font=("Time",15,"normal"))
p.hideturtle()
t=turtle.Pen() t=turtle.Pen()
t.pensize(10)
t.pencolor("red")
t.fillcolor("red")
t.begin_fill()
t.left(45) t.left(45)
t.forward(100) t.forward(100)
t.circle(50,180) t.circle(50,180)
t.right(90) t.right(90)
t.circle(50,180) t.circle(50,180)
t.forward(100) t.forward(100)
turtle.done() t.end_fill()
\ No newline at end of file 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