Commit 3f3e0bba by BellCodeEditor

auto save

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