Commit 78618ced by BellCodeEditor

save project

parent a26d4258
Showing with 7 additions and 2 deletions
...@@ -5,6 +5,8 @@ pen.write("诺依,你好呀ďĽ\nturtle真好用,\nć‘学会在画ĺ¸ĺ†™ĺ­—äş ...@@ -5,6 +5,8 @@ pen.write("诺依,你好呀ďĽ\nturtle真好用,\nć‘学会在画ĺ¸ĺ†™ĺ­—äş
#turtle.done() #turtle.done()
#画爱心 #画爱心
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.speed(4)
pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
pen1.fillcolor("red") pen1.fillcolor("red")
pen1.up() pen1.up()
...@@ -18,5 +20,9 @@ pen1.right(90) ...@@ -18,5 +20,9 @@ pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.end_fill() pen1.end_fill()
pen1.hideturtle() pen1.hideturtle()
turtle.done() turtle.done()
\ 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