Commit b15d3819 by BellCodeEditor

auto save

parent dec2a4f6
Showing with 5 additions and 2 deletions
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import turtle import turtle
p=turtle.Pen() p=turtle.Pen()
p.hideturtle() p.hideturtle()
p.pencolor("red") p.pencolor("red")
p.pensize(10) p.pensize(10)
p.left(45) p.left(45)
...@@ -11,8 +12,9 @@ p.right(90) ...@@ -11,8 +12,9 @@ p.right(90)
p.circle(50,180) p.circle(50,180)
p.forward(100) p.forward(100)
Pen.write = ("诺伊 \n 你好!",font=("Times",20,"normal")) p.penup()
p.goto(50,-50)
p.write("诺伊 \n 你好!" , font=("Times",20,"normal"))
#画布保持 #画布保持
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