Commit e6c5358f by BellCodeEditor

save project

parent c2f1308f
Showing with 33 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.penup()
pen.forward(90)
pen.pensize(68)
pen.pencolor("pink")
pen.write("你是我儿子,\n我是你爸爸。",font=("黑体",50,"normal"))
screen=turtle.Screen()
screen.bgcolor("dark grey")
pen=turtle.Pen()
pen.pensize(45)
pen.pencolor("red")
pen.left(45)
pen.circle(90.,180)
pen.left(270)
pen.circle(90,180)
pen.forward(180)
pen.left(90)
pen.forward(200)
turtle.done()
# pen.circle(50,360,3)
# pen.left(90)
# pen.penup()
# pen.forward(100)
# pen.pendown()
# pen.left(90)
# pen.circle(50,360,3)
# pen.left(90)
# pen.penup()
# pen.forward(50)
# pen.pendown()
# pen.circle(50,360)
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