Commit f29c20c2 by BellCodeEditor

auto save

parent 0c0327ec
Showing with 7 additions and 2 deletions
...@@ -6,14 +6,19 @@ ...@@ -6,14 +6,19 @@
# turtle.done() # turtle.done()
import turtle import turtle
screen.bgcolor("light blue")
pen1.color("red")
pen1=turtle.Pen() pen1=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue")
pen1.color("red")
pen1.penup() pen1.penup()
pen1.goto(100,-100) pen1.goto(100,-100)
pen1.write("你好",font=("Times",30,"normal")) pen1.write("你好",font=("Times",30,"normal"))
pen1.goto(100,-50) pen1.goto(100,-50)
pen1.pendown() pen1.pendown()
pen1.left(45) pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
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