Commit f47f85a2 by BellCodeEditor

save project

parent a15989ca
Showing with 26 additions and 0 deletions
#导入模块
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
#创建画笔
Pen=turtle.Pen()
Pen.penup()
Pen.goto(100,-100)
Pen.write("黑蚊子多"",font=("Times",20,"normal"))
Pen.hideturtle()
#画爱心
len=100
Pen1=turtle.Pen()
Pen1.hideturtle()
Pen1.pencolor("light green")
Pen1.pensize(5)
Pen1.left(45)
Pen1.forward(2*len)
Pen1.circle(len,180)
Pen1.right(90)
Pen1.circle(len,180)
Pen1.forward(2*len)
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