Commit f05b885b by BellCodeEditor

save project

parent a50ceeec
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
c=turtle.Screen()
c.bgcolor("light blue")
a=turtle.Pen()
a.penup()
a.goto(100,-50)
a.write("你好呀!诺依\n我也会用turtle模块写贺卡了!",font=("Times",15,"normal"))
a.hideturtle()
b=turtle.Pen()
b.pensize(4)
b.pencolor("blue")
b.left(45)
b.forward(100)
b.circle(50,180)
b.right(90)
b.circle(50,180)
b.forward(100)
b.hideturtle()
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