Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson9_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
9d52916c
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
ae7414db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
diy2.py
diy2.py
View file @
9d52916c
score
=
{
'悟空'
{
'语文'
:
91
,
'数学'
:
88
,
'英语'
:
85
}}
b
=
{
'语文'
:
16
,
'数学'
:
100
,
'英语'
:
65
}
for
i
,
o
in
score
.
items
():
c
=
{
'语文'
:
100
,
'数学'
:
88
,
'英语'
:
55
}
print
(
i
,
o
)
a
=
{
'语文'
:
21
,
'数学'
:
78
,
'英语'
:
100
}
d
=
{
'悟空'
:
a
,
'唐僧'
:
b
,
'八戒'
:
c
}
x
=
input
(
'请输入你想查看谁的成绩:'
)
mm
=
d
[
'悟空'
]
for
k
,
v
in
mm
.
items
():
print
(
k
,
v
)
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