Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson5_2
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
df6b7458
authored
a year ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
ea488ec5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
0 deletions
132.py
diy1.py
j.py
p.pi
132.py
0 → 100644
View file @
df6b7458
'''import turtle
p=turtle.Pen()
p.circle(100)
p.right(90)
p.forward(50)
p.right(90)
p.circle(20)
p.penup()
p.goto(0,200)
p.pendown()
p.right(90)
p.forward(50)
p.right(90)
p.circle(20)
p.penup()
p.goto(100,100)
p.pendown()
p.forward(50)
p.right(90)
p.circle(20)
p.penup()
p.goto(-100,100)
p.pendown()
p.right(90)
p.forward(50)
p.right(90)
p.circle(20)
turtle.done()'''
This diff is collapsed.
Click to expand it.
diy1.py
View file @
df6b7458
...
@@ -7,6 +7,7 @@ import turtle
...
@@ -7,6 +7,7 @@ import turtle
pen
=
turtle
.
Pen
()
pen
=
turtle
.
Pen
()
# 请创造师在下面接着创作
# 请创造师在下面接着创作
j
=
[
'red'
,
'o'
]
for
i
in
range
(
300
):
for
i
in
range
(
300
):
pen
.
forward
(
i
)
pen
.
forward
(
i
)
pen
.
right
(
91
)
pen
.
right
(
91
)
...
...
This diff is collapsed.
Click to expand it.
j.py
0 → 100644
View file @
df6b7458
x
=
input
(
""
)
if
x
[:
3
]
==
'010'
:
if
"8"
in
x
[
-
8
:]:
if
int
(
x
[
-
8
:])
%
2
==
0
and
int
(
x
[
-
8
:])
%
3
==
0
:
print
(
"llll"
)
else
:
print
(
'vvv'
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
p.pi
0 → 100644
View file @
df6b7458
x=im
\ 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