Commit cb11d2d6 by BellCodeEditor

save project

parent 6e0ad26f
Showing with 14 additions and 8 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
#导入模块
pen=turtle.Pen()
pen.color("blue")
import turtle
#准备画笔
pen.write("好\n\n点",font=("Times",30,"normal"))
#写字
pen.hideturtle()
turtle.done()
pen_b=turtle.Pen()
pen_b.color("red")
#画圆
pen_b.left(45)
pen_b.forward(100)
pen_b.circle(50,180)
pen_b.right(90)
pen_b.circle(50,180)
pen_b.forward(100)
#隐藏画笔
pen_b.hideturtle()
#固定画布
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