Commit 1f9fbc53 by BellCodeEditor

save project

parent 5e127727
Showing with 7 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
S=turtle.Screen()
S.bgcolor("piak")
len=int(S.textinput('b','a'))
S.bgcolor("pink")
pen.penup()
pen.goto(0,-100)
pen.write("世界核平",font=("Times",30,"normal"))
......@@ -13,7 +18,7 @@ u.forward(2*len)
u.circle(len,180)
u.right(90)
u.circle(len,180)
u.forward(ien*2)
u.forward(len*2)
pen.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