Commit 93031bfd by BellCodeEditor

save project

parent 2930669e
Showing with 27 additions and 3 deletions
import turtle
pen = turtle.Pen()
pen.write("123,木头人!",
pen.write("!",
font=("Times",30,"normal"))
turtle.done()
\ No newline at end of file
pen.hideturtle()
turtle.done()
# 拿画笔
pen = turtle.Pen()
#拿背景
screen
# 设置画笔颜色
pen.color("red")
# 设置画笔粗细
pen.pensize(10)
# 画爱心
pen.left(45)
# fd = forword
pen.fd(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.fd(100)
#隐藏画笔
pen.hideturtle()
#保存画布
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