Commit c4ffcebd by BellCodeEditor

save project

parent 0d9d13fc
Showing with 7 additions and 17 deletions
...@@ -4,18 +4,7 @@ screen.bgcolor("light blue") ...@@ -4,18 +4,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) len=int(len)
pen1=turtle.Pen() pen1=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal")) pen1.write("你好\nSB.",font=("Times",30,"normal"))
pen.hideturtle() pen1.hideturtle()
len=60 len=60
pen.penup() 1
pen.goto(100,100) \ No newline at end of file
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
turtle.done()
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
#pen.write("Hi,\n吸换python~\n——张命车辆",font=("Times",18,"normal")) pen.write("Hi,\n吸换python~\n——张命车辆",font=("Times",18,"normal"))
#pen.hideturtle() pen.hideturtle()
#turtle.done() turtle.done()
#画爱心 #画爱心
pen1=turtle.Pen() pen1=turtle.Pen()
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