Commit 28b6dcea by BellCodeEditor

save project

parent a15989ca
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
#画笔
pen=turtle.Pen()
pen.write("真好玩",font=("Times",30,"normal"))
#隐藏鼠标
pen.hideturtle()
#画笔粗细
pen.pensize(20)
#画笔颜色
pen.pencolor("red")
#画爱心
pen.left(45)
pen.forward(100)
pen.circle(50,180)
#画半圆
pen.right(90)
pen.circle(50,180)
pen.forward(100)
#固定
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