Commit dbac4ab3 by BellCodeEditor

auto save

parent 7be9e987
Showing with 5 additions and 0 deletions
...@@ -2,8 +2,13 @@ ...@@ -2,8 +2,13 @@
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen1 = turtle.Pen() pen1 = turtle.Pen()
sc = turtle.Screen()
pen.penup()
pen.goto(0,-100)
pen.write("诺一,turtle好好用,\n我会在画布上写字了",font = ("Times",10,"normal")) pen.write("诺一,turtle好好用,\n我会在画布上写字了",font = ("Times",10,"normal"))
pen.hideturtle() pen.hideturtle()
sc.bgcolor("pink")
pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
pen1.circle(50,180) pen1.circle(50,180)
......
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