Commit 0440558c by BellCodeEditor

save project

parent c99bf026
Showing with 3 additions and 1 deletions
import turtle
import random
pen=turtle.Pen()
screen=turtle.Screen()#设置背景
screen.bgcolor('lightblue')#浅蓝
len=60#爱心大小
len=random.randint(60,150)#爱心大小
print(len)
pen.pensize(15)#画爱心
pen.pencolor("green")#画笔颜色
pen.left(45)
......
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