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
abd92c16
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
b8fdcfb6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
diy2.py
diy2.py
View file @
abd92c16
...
@@ -2,6 +2,7 @@ s1 = {'语文':0,'数学':0,'英语':0}
...
@@ -2,6 +2,7 @@ s1 = {'语文':0,'数学':0,'英语':0}
s2
=
{
'语文'
:
1000000000000000000
,
'数学'
:
100000000000000000000000000000000000000
,
'英语'
:
100000000000000000000000000000000099999999999999999999999999999999999999999999999999999999999999999999999999999999999
}
s2
=
{
'语文'
:
1000000000000000000
,
'数学'
:
100000000000000000000000000000000000000
,
'英语'
:
100000000000000000000000000000000099999999999999999999999999999999999999999999999999999999999999999999999999999999999
}
s3
=
{
'语文'
:
110999999999999999999999999999999999999999999999999999999999999999
,
'数学'
:
11099999999999999999999999999999999999
,
'英语'
:
11099999999999999999999999999999999999
}
s3
=
{
'语文'
:
110999999999999999999999999999999999999999999999999999999999999999
,
'数学'
:
11099999999999999999999999999999999999
,
'英语'
:
11099999999999999999999999999999999999
}
k
=
{
'周子然'
:
s3
,
'杨金涛'
:
s2
,
'谢憨憨'
:
s1
}
k
=
{
'周子然'
:
s3
,
'杨金涛'
:
s2
,
'谢憨憨'
:
s1
}
score
=
k
[
'杨金涛'
]
kk
=
input
(
'名字:'
)
score
=
k
[
kk
]
for
k
,
v
in
score
.
items
():
for
k
,
v
in
score
.
items
():
print
(
k
,
v
)
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