Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-5_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
68d7fcea
authored
Mar 13, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
546042c8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
4 deletions
5.py
aa.py
ba.py
g.py
n.py
sj.py
5.py
0 → 100644
View file @
68d7fcea
import
turtle
p
=
turtle
.
Pen
()
def
xxxx
(
x
,
y
,
r
,
c
):
p
.
pensize
(
10
)
p
.
penup
()
p
.
goto
(
x
,
y
)
p
.
pd
()
p
.
pencolor
(
c
)
p
.
circle
(
r
)
xxxx
(
-
90
,
0
,
50
,
"blue"
)
xxxx
(
0
,
0
,
50
,
"black"
)
xxxx
(
90
,
0
,
50
,
"red"
)
xxxx
(
-
60
,
-
40
,
50
,
"yellow"
)
xxxx
(
60
,
-
40
,
50
,
"green"
)
turtle
.
done
()
\ No newline at end of file
aa.py
deleted
100644 → 0
View file @
546042c8
list
[
"石头"
,
"剪刀"
,
"布"
]
if
player
in
list
:
else
:
print
(
"输入错误"
)
ba.py
0 → 100644
View file @
68d7fcea
import
turtle
p
=
turtle
.
Pen
()
def
x
(
r
,
y
):
p
.
penup
()
p
.
goto
(
0
,
y
)
p
.
pd
()
p
.
circle
(
r
)
x
(
10
,
25
)
x
(
15
,
20
)
x
(
20
,
15
)
x
(
25
,
10
)
x
(
30
,
5
)
x
(
35
,
0
)
x
(
40
,
-
5
)
x
(
45
,
-
10
)
x
(
50
,
-
15
)
x
(
55
,
-
20
)
turtle
.
done
()
\ No newline at end of file
g.py
0 → 100644
View file @
68d7fcea
import
turtle
p
=
turtle
.
Pen
()
p
.
penup
()
p
.
goto
(
-
50
,
-
50
)
p
.
pd
()
p
.
goto
(
-
50
,
50
)
p
.
goto
(
50
,
50
)
p
.
goto
(
50
,
-
50
)
p
.
goto
(
-
50
,
-
50
)
p
.
penup
()
p
.
goto
(
0
,
-
25
)
p
.
pd
()
p
.
begin_fill
()
p
.
fillcolor
(
"blue"
)
p
.
circle
(
25
)
p
.
end_fill
()
turtle
.
done
()
\ No newline at end of file
n.py
0 → 100644
View file @
68d7fcea
a
=
input
()
print
(
"百位:"
+
a
[
0
]
+
"十位:"
+
a
[
1
]
+
"个位:"
+
a
[
2
])
sj.py
0 → 100644
View file @
68d7fcea
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