Commit de0e233f by BellCodeEditor

save project

parent 12d525c7
Showing with 5 additions and 5 deletions
...@@ -3,12 +3,10 @@ import turtle ...@@ -3,12 +3,10 @@ import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
write("你好\nyou are good",font("Time",30,"normal")) pen.write("你好\nyou are good",font=("Time",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
...@@ -17,4 +15,5 @@ pen.circle(50,180) ...@@ -17,4 +15,5 @@ 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()
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