Commit 8f004068 by BellCodeEditor

save project

parent 0bdfb185
Showing with 5 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("真不错",font=("Time",20,"normal"))
screen=turtle.Screen()
screen.bgcolor("red")
a=screen.textinput("提示","大小")
a=int(a)
......@@ -16,6 +20,5 @@ pen1.right(90)
pen1.circle(a,180)
pen1.forward(2*a)
screen=turtle.Screen()
screen.bgcolor("red")
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