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
c5baa392
authored
Dec 05, 2020
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
a3bef205
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
LI.py
LI.py
View file @
c5baa392
import
turtle
len
=
60
jk
=
60
pen
=
turtle
.
Pen
()
len
.
textinpup
(
"表提"
,
"爱心要多大"
)
screen
=
turtle
.
Screen
()
pen
.
penup
()
pen
.
goto
(
0
,
-
100
)
screen
.
bgcolor
(
"green"
)
pen
.
write
(
"嘿,你个司马玩意儿
\n
,你爸爸我回来了"
,
font
=
(
"Times"
,
20
,
"normal"
))
pen
.
hideturtle
()
int
(
jk
)
penl
=
turtle
.
Pen
()
penl
.
fillcolor
(
"red"
)
penl
.
begin_fill
()
penl
.
left
(
45
)
penl
.
forward
(
2
*
len
)
penl
.
circle
(
len
,
180
)
penl
.
forward
(
2
*
jk
)
penl
.
circle
(
jk
,
180
)
penl
.
right
(
90
)
penl
.
circle
(
len
,
180
)
penl
.
forward
(
2
*
len
)
penl
.
circle
(
jk
,
180
)
penl
.
forward
(
2
*
jk
)
penl
.
end_fill
()
penl
.
hideturtle
()
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