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
223b3662
authored
Mar 07, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
71760232
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
0 deletions
diy1.py
diy2.py
diy1.py
View file @
223b3662
...
@@ -3,6 +3,7 @@ import turtle#导入模块
...
@@ -3,6 +3,7 @@ import turtle#导入模块
pen
=
turtle
.
Pen
()
#拿一支笔出来
pen
=
turtle
.
Pen
()
#拿一支笔出来
screen
=
turtle
.
Screen
()
#
screen
=
turtle
.
Screen
()
#
screen
.
bgcolor
(
"pink"
)
screen
.
bgcolor
(
"pink"
)
lovesize
=
int
(
screen
.
textinput
(
"标题"
,
"请输入爱心的半径"
))
pen
.
penup
()
#把笔抬起来
pen
.
penup
()
#把笔抬起来
pen
.
goto
(
100
,
-
100
)
#把笔移到到指定的位置
pen
.
goto
(
100
,
-
100
)
#把笔移到到指定的位置
pen
.
write
(
"春晓
\n
春眠不觉晓
\n
处处蚊子咬
\n
夜来巴掌声
\n
蚊子死多少"
,
pen
.
write
(
"春晓
\n
春眠不觉晓
\n
处处蚊子咬
\n
夜来巴掌声
\n
蚊子死多少"
,
...
...
diy2.py
0 → 100644
View file @
223b3662
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