Commit 85a2f0ea by BellCodeEditor

save project

parent 2af22cad
Showing with 10 additions and 3 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("blue")
pen.color("red") pen.color("red")
pen.pensize(10) pen.pensize(10)
pen.left(45) pen.left(45)
...@@ -8,7 +10,11 @@ pen.circle(50,180) ...@@ -8,7 +10,11 @@ pen.circle(50,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.hideturtle() # pen.hideturtle()
turtle.done() # turtle.done()
screen.bgcolor("blue") pen.color("black")
pen.penup()
pen.goto(150,-20) pen.goto(150,-20)
pen.write("你好",font=("Times",30,"normal"))
pen.hideturtle()
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