Commit 0fd056ad by BellCodeEditor

save project

parent 7bff24ae
Showing with 12 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
......
import turtle
s=turtle.Screen()
l=s.textinput("大小框","大小是:")
lovesize=int(l)
p=turtle.Pen
p.left(45)
p.forward(2*l)
p.right(90)
p.left(45)
p.forward(2*l)
turtle.done
\ No newline at end of file
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