Commit 94f21e01 by BellCodeEditor

save project

parent 92093f9d
Showing with 21 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()#设置背景
screen.bgcolor('lightblue')#浅蓝
pen.pensize(15)#画爱心
pen.pencolor("green")#画笔颜色
pen.left(45)
pen.forward(200)
pen.circle(100,180)
pen.right(90)
pen.circle(100,180)
pen.forward(200)
pen.penup()
pen.goto(100,-100)
pen.write('HELLOW\nSB',font=('楷体',40,'normal'))#写字内容
pen.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