Commit 3f3e0bba by BellCodeEditor

auto save

parent 139c3a92
Showing with 16 additions and 11 deletions
# import turtle
import turtle
# import turtle
# pen= turtle.Pen()
# pen.write("你好啊",font=("Times",20,"normal"))
# pen.hideturtle()
# turtle.done()
pen.=turtle.Pen()
pen.=penclor("red")
pen.pensize(20)
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen= turtle.Pen()
pen.penup()
pen.goto(10,-140)
pen.write("你好啊\n我们一起来学习Python吧",font=("times",20,"normal"))
pen.hideturtle()
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forwar(100)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forwar(100)
pen.forward(100)
pen.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