Commit 365ac531 by BellCodeEditor

save project

parent 8232f08a
Showing with 17 additions and 0 deletions
import turtle
scree=turtle.Screen()
l=scree.textinput("大小","数字:")
a=int(l)
p=turtle.Pen()
p.fillcolor("red")
p.begin_fill()
for i in range(4):
p.forward(a)
p.left(60)
p.forward(a)
p.left(60)
p.end_fill()
p.hideturtle()
turtle.done()
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