Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson13-1
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
d1c89c12
authored
Jun 22, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
bad6ccfb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
2 deletions
dfdfdf.py
diy.py
fddfdgffxv.py
dfdfdf.py
0 → 100644
View file @
d1c89c12
diy.py
View file @
d1c89c12
c
:
\
Users
\
Administrator
\
Desktop
\
VIP
杨瑞
.
txt
\ No newline at end of file
a
=
[]
while
1
:
print
(
'1查看,2加入,3删除,4修改'
)
mmm
=
input
()
if
mmm
==
'1'
:
print
(
a
)
elif
mmm
==
'2'
:
print
(
'加入哪个?'
)
ccc
=
input
()
a
.
append
(
ccc
)
elif
mmm
==
'3'
:
ttt
=
input
(
'删除哪个?'
)
if
ttt
not
in
a
:
print
(
'没有'
)
else
:
a
.
remove
(
ttt
)
elif
mmm
==
'4'
:
yyy
=
input
(
'改变数字'
)
if
yyy
not
in
a
:
print
(
'没有'
)
else
:
lll
=
input
(
'修改成'
)
a
[
a
.
index
(
yyy
)]
=
lll
else
:
print
(
'没有'
)
\ No newline at end of file
fddfdgffxv.py
0 → 100644
View file @
d1c89c12
scores
=
[
93
,
91
,
61
,
85
,
79
,
94
,
92
,
74
,
86
,
83
,
97
,
89
,
65
,
94
,
85
,
100
,
99
,
78
,
71
,
99
,
77
,
93
,
68
,
88
,
76
,
76
,
74
,
60
,
90
,
69
,
72
,
90
,
78
,
96
,
83
,
80
,
72
,
82
,
71
,
88
,
80
,
99
,
78
,
95
,
65
,
68
,
83
,
91
,
99
,
88
,
78
]
k
=
101
for
i
in
range
(
0
,
101
):
if
i
not
in
scores
:
k
=
k
-
1
print
(
k
)
\ No newline at end of file
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