Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-2_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
a95b7ff0
authored
Oct 07, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
c816b9b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
diy1.py
diy1.py
0 → 100644
View file @
a95b7ff0
#文字设置
import
turtle
p
=
turtle
.
Pen
()
p
.
penup
()
p
.
goto
(
100
,
-
100
)
p
.
write
(
"你好
\n\n
巴波.休立干.古力泰.
\n
彭彭克皮.彭彭科纳.
\n
菲谢尔.洪.露弗斯福斯.
\n
那菲多特.阿斯托洛吉斯.
\n
莫娜.梅吉斯图斯
\n\n
欢迎来到冒险家协会!"
,
font
=
(
"time"
,
18
,
"normal"
))
#画笔初始化
p1
=
turtle
.
Pen
()
p1
.
pencolor
(
"red"
)
#画爱心
p1
.
left
(
45
)
p1
.
forward
(
100
)
p1
.
circle
(
50
,
180
)
p1
.
right
(
90
)
p1
.
circle
(
50
,
180
)
p1
.
forward
(
100
)
#保存画布
turtle
.
done
()
\ No newline at end of file
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