Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-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
35a11d98
authored
a year ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
b26a3233
c365595l915p219a9875/is025012
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
123456789.py
5.py
123456789.py
View file @
35a11d98
...
...
@@ -4,4 +4,4 @@ print(a['野羊苏吸'])
a
[
'爱坤'
]
=
9999999999
print
(
a
)
a
[
'宙斯'
]
=
99
print
(
a
)
\ No newline at end of file
print
(
a
)
This diff is collapsed.
Click to expand it.
5.py
0 → 100644
View file @
35a11d98
r
=
{
'汪仔'
:
9999
,
'奥利给'
:
889
,
'佩奇肉'
:
1234567789
}
k
=
input
(
'你想买什么呀?'
)
if
k
in
r
:
print
(
'您的'
+
k
+
'需要支付'
+
str
(
r
[
k
])
+
'元'
)
else
:
print
(
'神奇百货暂未有你想要的物品,敬请期待'
)
\ No newline at end of file
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