Commit 05aa741a by BellCodeEditor

auto save

parent 3dff0d2b
Showing with 5 additions and 6 deletions
#导入模块
#创建画笔
#写祝福语
#隐藏画笔
#保存画布
\ No newline at end of file
...@@ -18,6 +18,8 @@ p.write("开学啦,\n祝大家开心学习!",font=("Times",20,"normal")) ...@@ -18,6 +18,8 @@ p.write("开学啦,\n祝大家开心学习!",font=("Times",20,"normal"))
#隐藏画笔 #隐藏画笔
p.hideturtle() p.hideturtle()
#新建画笔 #新建画笔
#画笔粗细 #画笔粗细
#画笔颜色 #画笔颜色
...@@ -27,6 +29,9 @@ p.hideturtle() ...@@ -27,6 +29,9 @@ p.hideturtle()
#旋转 #旋转
#画半圆 #画半圆
#画直线 #画直线
ph = turtle.Pen() ph = turtle.Pen()
ph.pensize(5) ph.pensize(5)
ph.pencolor("red") ph.pencolor("red")
......
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