Commit 3b2f1aca by BellCodeEditor

save project

parent 87edb7a7
Showing with 33 additions and 2 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.goto(100.-100)
pen.write("你好\nSB.",font=("Times",30,"normal"))
pen1=turtle.pen()
len=60
pen1.left(45)
pen1.forward(2*len)
pen1.circfe(len,180)
pen1.forward(100)
pen1.right(90)
pen1.circfe(len,180)
pen1.forward(2*len)
pen1.hidturtle()
turtle.done()
pen1.hidturtle()
pen1=turtle.pen()
pen1.pencolor("red")
pen1.pensize(5)
turtle.done()
\ No newline at end of file
......@@ -20,4 +20,5 @@ turtle.done()
pen1.hidturtle()
pen1=turtle.pen()
pen1.pencolor("red")
pen1.pensize(5)
\ No newline at end of file
pen1.pensize(5)
turtle.done()
\ No newline at end of file
import turtle
sareen=turtle.sareen()
sareen.texinput("姓名框,悟空")
turtle.denc
\ 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