Commit 1189d21b by BellCodeEditor

save project

parent a50ceeec
Showing with 27 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
s.bgcolor("green")
len=s.textinput("sdafssd","hsah")
lovesize=int(len)
p=turtle.Pen()
p.penup()
p.goto(100,-100)
p.pencolor("red")
p.write("wdnmd艰苦撒旦艰苦撒旦反抗\nu'd'j'k's\nOdis解耦i撒旦解放d'kdk ",font=("Times",20,"normal"))
p.hideturtle()
p1=turtle.Pen()
p1.pencolor("red")
p1.pensize(10)
p1.right(-45)
p1.forward(lovesize*2)
p1.circle(lovesize,180)
p1.right(90)
p1.circle(lovesize,180)
p1.forward(lovesize*2)
p1.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