Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-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
4eff970e
authored
3 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
7d4b028a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
3 deletions
11.py
111.py/1111.py
111.py/322.py/1111.py
111.py/322.py/33232424.py
11.py
0 → 100644
View file @
4eff970e
This diff is collapsed.
Click to expand it.
111.py/1111.py
View file @
4eff970e
import
turtle
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"blue"
)
screen
.
textinput
(
"提示"
,
"大小"
)
s
.
bgcolor
(
"blue"
)
p
=
turtle
.
Pen
()
p1
=
turtle
.
Pen
()
p
.
penup
()
...
...
This diff is collapsed.
Click to expand it.
111.py/322.py/1111.py
0 → 100644
View file @
4eff970e
import
turtle
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"blue"
)
lovesize
=
screen
.
textinput
(
"提示"
,
"大小"
)
size
=
int
(
lovesize
)
p
=
turtle
.
Pen
()
p1
=
turtle
.
Pen
()
p
.
penup
()
p
.
goto
(
100
,
-
100
)
p
.
write
(
"我是你爹
\n
你是吾儿
\n
叫爹
\n
爹赶时间 "
,
font
=
(
"Times"
,
18
,
"normal"
))
p1
.
color
(
"red"
)
p1
.
pensize
(
5
)
p1
.
left
(
45
)
p1
.
forward
(
2
*
size
)
p1
.
circle
(
size
,
180
)
p1
.
left
(
-
90
)
p1
.
circle
(
size
,
180
)
p1
.
forward
(
2
*
size
)
p
.
hideturtle
()
turtle
.
done
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
111.py/322.py/33232424.py
View file @
4eff970e
import
turtle
import
random
list
=
[
50
,
60
,
70
]
size
=
random
.
choice
(
list
)
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"blue"
)
p
=
turtle
.
Pen
()
p
.
left
(
-
90
)
p
.
circle
(
-
50
,
180
)
p1
=
turtle
.
Pen
()
p
.
penup
()
p
.
goto
(
100
,
-
100
)
p
.
write
(
"我是你爹
\n
你是吾儿
\n
叫爹
\n
爹赶时间 "
,
font
=
(
"Times"
,
18
,
"normal"
))
p1
.
color
(
"red"
)
p1
.
pensize
(
5
)
p1
.
left
(
45
)
p1
.
forward
(
2
*
size
)
p1
.
circle
(
size
,
180
)
p1
.
left
(
-
90
)
p1
.
circle
(
size
,
180
)
p1
.
forward
(
2
*
size
)
p
.
hideturtle
()
turtle
.
done
()
\ No newline at end of file
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