Commit 99ee7f26 by BellCodeEditor

auto save

parent 0a0874be
Showing with 2 additions and 0 deletions
...@@ -13,6 +13,8 @@ pen.hideturtle()#隐藏画笔 ...@@ -13,6 +13,8 @@ pen.hideturtle()#隐藏画笔
pen1 = turtle.Pen()#创建一支新的画笔 pen1 = turtle.Pen()#创建一支新的画笔
pen1.pencolor("red")#设置画笔颜色 pen1.pencolor("red")#设置画笔颜色
pen1.pensize(5)#设置画笔粗细 pen1.pensize(5)#设置画笔粗细
#利用变量设置爱心大小
#画红色爱心 #画红色爱心
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
......
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