Commit 7804e49b by BellCodeEditor

save project

parent 69c398e7
Showing with 2 additions and 2 deletions
...@@ -5,13 +5,13 @@ screen.bgcolor("pink") ...@@ -5,13 +5,13 @@ screen.bgcolor("pink")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好\n时间",font=("Times",30,"normal")) pen.write("你好\n",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(10) pen1.pensize(10)
pen1.color('#285078', '#a0c8f9') pen1.color('#285078', '#a0c8f9')
# 借助变量 # 借助变量
len=60 len=int(screen.textinput("长度","大小"))
pen1.begin_fill() pen1.begin_fill()
pen1 .left(45) pen1 .left(45)
pen1.forward(2*len) pen1.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