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
ff034616
authored
Jan 30, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
73340eb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
diy2.py
diy2.py
View file @
ff034616
...
@@ -3,5 +3,10 @@ WAI2={'语文':90,'数学':91,'英语':85}
...
@@ -3,5 +3,10 @@ WAI2={'语文':90,'数学':91,'英语':85}
WAI3
=
{
'语文'
:
93
,
'数学'
:
100
,
'英语'
:
89
}
WAI3
=
{
'语文'
:
93
,
'数学'
:
100
,
'英语'
:
89
}
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
xax
=
{
'易烊千玺'
:
WAI1
,
'王一博'
:
WAI2
,
'范丞丞'
:
WAI3
}
xax
=
{
'易烊千玺'
:
WAI1
,
'王一博'
:
WAI2
,
'范丞丞'
:
WAI3
}
xin
=
input
[]
ixx
=
input
(
"老公,把你名字输下,就可以领一个nu朋友了,mm哒 名字:"
)
if
ixx
in
xax
:
info
=
xax
[
ixx
]
for
k
,
v
in
ixx
.
items
:
else
:
print
(
"bing 这是你女朋友滴成绩,如果不满意,按p换一个"
)
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