Commit 3dcfeb99 by BellCodeEditor

save project

parent 9d2bd909
Showing with 3 additions and 1 deletions
...@@ -3,11 +3,13 @@ import turtle ...@@ -3,11 +3,13 @@ import turtle
screen=turtle.Screen()#创建画布 screen=turtle.Screen()#创建画布
screen.bgcolor("pink")#画布背景颜色调整为粉色 screen.bgcolor("pink")#画布背景颜色调整为粉色
a=screen.textinput("x","大小")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("123",font=("Times",30,"normal")) pen.write("123",font=("Times",30,"normal"))
len=50 len=int(a)
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
......
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