Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
pygame_lesson6_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
a7df31f4
authored
Oct 17, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
abcd6bb7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
diy.py
diy.py1
diy。p
diy.py
View file @
a7df31f4
import
turtle
pen
=
turtle
.
Pen
()
for
i
in
range
(
1
,
300
)
:
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"black"
)
color
=
[
"red"
,
"green"
,
"yellow"
,
"green"
]
for
i
in
range
(
1
,
300
):
pen
.
pencolor
(
color
[
i
%
4
])
pen
.
forward
(
i
)
i
+=
1
pen
.
hideturtle
()
turtle
.
done
()
pen
.
right
(
91
)
turtle
.
hideturtle
()
turtle
.
done
diy.py1
0 → 100644
View file @
a7df31f4
import turtle
pen=turtle.Pen()
diy。p
0 → 100644
View file @
a7df31f4
++ "b/diy\343\200\202p"
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