Commit 67ff4f80 by BellCodeEditor

save project

parent c256c561
Showing with 23 additions and 2 deletions
# 我们都爱夸夸夸
\ No newline at end of file
#导入
import turtle
#设置画笔
pen=turtle.Pen()
#书写
pen.write("HI,\n康朗维",font=("Time",30,"normal"))
#爱心
def dram
pen1=turtle.Pen()
pen1.pensize(1)
pen1.pencolor("green")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
#隐藏画笔
pen.hideturtle()
pen1.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