Commit 41e76065 by BellCodeEditor

save project

parent 654bc3ba
Showing with 25 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle as t
s=t.Screen()
p=t.Pen()
s.bgcolor(1,0.5,0.4)
p.penup()
p.pensize(2)
p.speed(0)
p.fillcolor(1,0,0)
p.pencolor(0.7,0,0)
p.goto(-50,-100)
p.write("hello",font=("Freestyle Script",60,"normal"))
p.goto(0,0)
p.pendown()
p.begin_fill()
p.left(45)
p.forward(100)
p.circle(50,180)
p.right(90)
p.circle(50,180)
p.forward(100)
p.end_fill()
p.hideturtle()
t.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