Commit 4d9bb2d9 by BellCodeEditor

save project

parent c66a449e
Showing with 2 additions and 1 deletions
......@@ -2,7 +2,7 @@
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=screen.textinput("请输入","字体大小")
len=int(len)
pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal"))
......@@ -13,6 +13,7 @@ pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
喷。
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
......
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