Commit d5283637 by BellCodeEditor

save project

parent 654bc3ba
Showing with 26 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
s.bgcolor("pink")
t1=turtle.Pen()
t1.write("你\n好",font=("Times",30,"normal"))
t1.hideturtle()
t=turtle.Pen()
t.penup()
t.begin_fill()
t.goto(-100,0)
t.pendown()
t.pensize(5)
t.pencolor("red")
t.left(45)
t.fd(100)
t.circle(50,180)
t.left(-90)
t.circle(50,180)
t.fd(100)
t.hideturtle()
t.fill_color("red")
t.end_fill()
turtle.done()
\ No newline at end of file
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