Commit 61133f69 by BellCodeEditor

save project

parent 78025bc5
Showing with 22 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
#写字 pen.pencolor("yellowgreen")
pen.write("你好啊",font=("Time",30,"normal")) pen.pensize(15)
#隐藏画笔 pen.fillcolor("red")
pen.hideturtle() #开始填充
pen.begin_fill()
pen.left(45)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.left(90)
pen.forward(100)
pen.end_fill()
#固定画布 #固定画布
turtle.done() 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