Commit 3991e105 by BellCodeEditor

save project

parent b4137fa6
Showing with 21 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~ #利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() #创建画笔
pen.write("Ryan.Ying",font=("Edwardian Script ITC",50,"normal")) pen = turtle.Pen()
pen.hideturtle() #写字
turtle.done() # pen.write(' 《红豆》\n红豆生南国,\n春来发几枝。\n愿君多采撷,\n此物最相思。',font=('黑体',30,'normal'))
\ No newline at end of file
pen.color("dark blue")
pen.fillcolor("gold")
pen.begin_fill()
pen.lt(45)
pen.fd(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.fd(100)
pen.end_fill()
#保存画布
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