Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson16-diy2
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
6f8c980e
authored
a year ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
3d254bec
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
0 deletions
1.py
RRR.PY
ggb.py
人机.py
1.py
0 → 100644
View file @
6f8c980e
import
turtle
as
t
import
random
as
r
def
draw_circle
():
This diff is collapsed.
Click to expand it.
RRR.PY
0 → 100644
View file @
6f8c980e
from
turtle
import
*
hideturtle
()
bgcolor
(
"black"
)
color
(
"green"
)
x
=
10
y
=
0
for
i
in
range
(
10000000000000000000000000
):
pendown
()
circle
(
x
,
360
)
penup
()
x
+=
10
y
-=
10
sety
(
y
)
done
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ggb.py
0 → 100644
View file @
6f8c980e
from
turtle
import
*
speed
(
1000
)
hideturtle
()
list_color
=
[
"green"
,
"yellow"
,
"blue"
,
"red"
]
for
i
in
range
(
1000
):
color
(
list_color
[
i
%
4
])
circle
(
i
,
180
)
right
(
90
)
done
()
This diff is collapsed.
Click to expand it.
人机.py
0 → 100644
View file @
6f8c980e
from
turtle
import
*
from
turtle
import
*
penup
()
setpos
(
0
,
100
)
hideturtle
()
fillcolor
(
"green"
)
pendown
()
for
i
in
range
(
6
):
begin_fill
()
for
i
in
range
(
3
):
forward
(
150
)
left
(
120
)
end_fill
()
forward
(
150
)
right
(
60
)
fillcolor
(
"yellow"
)
begin_fill
()
for
i
in
range
(
6
):
forward
(
150
)
right
(
60
)
end_fill
()
done
()
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