Commit 522bb966 by BellCodeEditor

save project

parent 5eb60153
Showing with 2 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light pink")
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
......@@ -11,7 +11,7 @@ len=60
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pensize(20)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
......
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