Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-4
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
1230b55e
authored
3 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
f1980af8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
diy.py
diy.py
View file @
1230b55e
# 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~
dict
=
{
'可口可乐'
:
3
,
'旺仔牛奶'
:
4
,
'农夫山泉'
:
1
,
'辣条'
:
3
,
'巴西烤肉'
:
2
,
'果冻'
:
4
,
'乐事'
:
5
,
'奥利奥'
:
10
,
'巧克力'
:
6
}
\ No newline at end of file
dict
=
{
'可口可乐'
:
999
,
'旺仔牛奶'
:
888
,
'农夫山泉'
:
999999
,
'辣条'
:
1
,
'巴西烤肉'
:
54
,
'果冻'
:
90
,
'乐事'
:
101000100101010110010000010101010
,
'奥利奥'
:
1
,
'巧克力'
:
292282829280382893092830289039298329302838302883028329830820382098392830980928309283902839028903820989023890283982392839020880398203809283928928389283902830830829382098398298337623687268362723352678908765367890
}
sb
=
input
(
"你买撒子SB:"
)
if
sb
in
dict
:
print
(
"sbcnm给钱"
+
sb
+
str
(
dict
[
sb
])
+
"元"
)
else
:
print
(
'gun草你妈'
)
\ 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