Commit ac542340 by BellCodeEditor

save project

parent 9d00c71b
Showing with 11 additions and 5 deletions
import turtle import turtle
#turtle.write()
pen=turtle.Pen() pen=turtle.Pen()
#pen.write(,font=("Times",30,"normal")) screen=turtle.Screen()
#pen.turtlehide() screen.bgcolor("red")
#画爱心
pen.pendown() pen.pendown()
pen.pencolor("green") pen.pencolor("green")
pen.fillcolor("green") pen.fillcolor("green")
...@@ -14,4 +15,10 @@ pen.right(90) ...@@ -14,4 +15,10 @@ pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.end_fill() pen.end_fill()
turtle.done()
\ No newline at end of file pen.penup()
pen.goto(100,-100)
pen.pendown()
pen.write("我不会\n我还是不会",font=("Times",30,"normal"))
turtle.done()
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