Commit 6d4ca221 by BellCodeEditor

save project

parent ae565a25
Showing with 6 additions and 13 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen= turtle.Pen()
# pen.write("春晓",font=("圆体",30,"normal"))
# turtle.done()
#画爱心
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.fd(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.fd(100)
#创建画笔
pen=turtle.Pen()
#画布上书写文字
pen.write("你好呀!\n诺依turtle太好用了",font=("圆体",30,"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