Commit 57db4e98 by BellCodeEditor

auto save

parent 654bc3ba
Showing with 25 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
a=turtle.Pen()
a.write("哈哈哈哈哈哈哈哈哈",font=("times",20,"normal"))
a.hideturtle()
b=turtle.Pen()
b.penup()
b.goto(100,-200)
b.pendown()
b.pencolor("red")
b.fillcolor("red")
b.begin_fill()
b.pensize(2)
b.left(45)
b.forward(100)
b.circle(50,180)
b.right(90)
b.circle(50,180)
b.forward(100)
b.end_fill()
b.hideturtle()
c=turtle.Screen()
c.bgcolor("pink")
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