Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-1-1_DIY1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
05aa741a
authored
4 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
3dff0d2b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
heart1.py
s.py
heart1.py
deleted
100644 → 0
View file @
3dff0d2b
#导入模块
#创建画笔
#写祝福语
#隐藏画笔
#保存画布
\ No newline at end of file
This diff is collapsed.
Click to expand it.
s.py
View file @
05aa741a
...
@@ -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"
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment