Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-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
55806833
authored
Mar 11, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
7cb31451
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
diy1.py
的杀杀杀杀杀杀杀杀杀杀杀杀杀杀杀杀杀杀.py
diy1.py
View file @
55806833
...
@@ -11,4 +11,4 @@
...
@@ -11,4 +11,4 @@
dict_hero
=
{
"丸子"
:
1
,
"天皇"
:
14588
,
"大佐"
:
250
}
dict_hero
=
{
"丸子"
:
1
,
"天皇"
:
14588
,
"大佐"
:
250
}
dict_hero
[
"丸子"
]
=
6666666666
dict_hero
[
"丸子"
]
=
6666666666
print
(
dict_hero
)
print
(
dict_hero
)
dict_hero
[
"小日子9909099999999999999999999999
dict_hero
[
"小日子"
]
=
9909099999999999999999999999
\ No newline at end of file
的杀杀杀杀杀杀杀杀杀杀杀杀杀杀杀杀杀杀.py
0 → 100644
View file @
55806833
dict
=
{
'旺仔牛逼糖'
:
20
,
'红可乐'
:
100
,
'鸡汤'
:
1000
,
"坤蛋"
:
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
,
"三花淡奶"
:
43888576489674965498406890870935875607856097507850750785775975840580756879056870987059678590785609785690756897568790658709658709875907507595890890578569597859888989808098989898980989898987866541234567890
}
dict
=
{
'旺仔牛逼糖'
:
20
,
'红可乐'
:
100
,
'鸡汤'
:
1000
,
"坤蛋"
:
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
,
"三花淡奶"
:
43888576489674965498406890870935875607856097507850750785775975840580756879056870987059678590785609785690756897568790658709658709875907507595890890578569597859888989808098989898980989898987866541234567890
}
j
=
input
(
"你要什么东西呀"
)
if
j
in
dict
:
print
(
"呱呱+您要的+j+需要支付"
+
str
(
dict
[
j
]))
else
:
print
(
"您要的东西缺货+呱呱"
)
\ 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