Commit 5075411a by BellCodeEditor

save project

parent 3ca3c8bc
Showing with 23 additions and 8 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
s=turtle.Screen()
p=turtle.Pen() p=turtle.Pen()
#p.write("ahahahah\naaaah",font=("楷体",18,"normal")) b=s.textinput("你有多碍我???","a")
p.hideturtle a=int(b)
p.setheading(45)
p.forward(100) p.up()
p.circle(50,180)
p.right(90)
p.circle(50,180)
p.()
p.forward(100) p.forward(100)
turtle.bgcolor("red")
p.down()
p.write("你碍我\n我踹你\n觅血病城添幂幂",font=("楷体",18,"normal"))
p.hideturtle()
p1=turtle.Pen()
p1.pensize(5)
p1.color("black")
p1.setheading(45)
p1.forward(a*2)
p1.circle(a,180)
p1.right(90)
p1.circle(a,180)
p1.forward(a*2)
p1.color("black")
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