Commit 4b98067d by BellCodeEditor

save project

parent c2f1308f
Showing with 26 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ a=120
\ No newline at end of file b=70-a
c=a/5
import turtle
screen=turtle.Screen()
screen.bgcolor("orange")
pen=turtle.Pen()
pen.penup()
pen.goto(0,b)
pen.pensize(20)
pen.pencolor("red")
pen.fillcolor("pink")
pen.begin_fill()
pen.left(45)
pen.forward(2*a)
pen.circle(a,180)
pen.right(90)
pen.circle(a,180)
pen.forward(2*a)
pen.end_fill()
pen.penup()
pen.goto(a,b)
pen.pencolor("red")
pen.write("How\nare\nyou?",font=("Times",10,"normal"))
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