Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson9_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
d159cff9
authored
Mar 16, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
1b986697
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletions
ABCD.py
break.py
qwertyuiop.py
ABCD.py
0 → 100644
View file @
d159cff9
abcd1
=
{
'甲骨文'
:
0
,
'白学'
:
3.141592653589793
,
'鸟语'
:
59
}
abcd2
=
{
'甲骨文'
:
59
,
'白学'
:
0
,
'鸟语'
:
3.141592653589793
}
abcd3
=
{
'甲骨文'
:
3.141592653589793
,
'白学'
:
59
,
'鸟语'
:
0
}
cr
=
{
'去微软推哦怕'
:
abcd1
,
'阿斯顿法国红酒看来'
:
abcd2
,
'自行车v不那么'
:
abcd3
}
while
True
:
name
=
input
(
"名字:"
)
print
(
"*"
*
30
)
if
name
in
cr
:
cr
=
cr
[
name
]
for
k
,
v
in
cr
.
items
():
print
(
k
,
v
)
print
(
"*"
*
30
)
else
:
print
(
"查询错误"
)
print
(
"*"
*
30
)
print
(
"程序结束"
)
\ No newline at end of file
break.py
0 → 100644
View file @
d159cff9
qwertyuiop.py
View file @
d159cff9
cr
=
{
'甲骨文'
:
0
,
'白学'
:
3.14159265358979323846264338279
,
'鸟语'
:
59
,
}
cr
=
{
'甲骨文'
:
0
,
'白学'
:
3.14159265358979323846264338279
,
'鸟语'
:
59
}
for
a
,
b
in
cr
.
items
():
for
a
,
b
in
cr
.
items
():
print
(
a
,
b
)
print
(
a
,
b
)
\ 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