Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson9_3
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
926a3008
authored
Jul 17, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d8c50f97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
dvojfdi.py
dvojfdi.py
View file @
926a3008
s1
=
{
"语"
:
89
,
"数"
:
98
,
"英"
:
100
}
s2
=
{
"语"
:
87
,
"数"
:
95
,
"英"
:
89
}
s3
=
{
"语"
:
80
,
"数"
:
78
,
"英"
:
99
}
classroom
=
{
"w"
:
s1
,
"e"
:
s2
,
"r"
:
s3
}
while
True
:
name
=
input
(
"请问找谁"
)
if
name
in
classroom
:
a
=
classroom
[
name
]
for
k
,
v
in
a
.
iteam
():
print
(
k
,
v
)
else
:
print
(
"没有此人"
)
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