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
f332c55f
authored
Jul 17, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e52409ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
sn.py
sn.py
View file @
f332c55f
huoms
=
{
"鼻屎"
:
1
,
"龙狙"
:
100000
,
"狗屎"
:
100
,
"十万颗核弹"
:
0.01
}
huoms
=
{
"鼻屎"
:
1
,
"龙狙"
:
100000
,
"狗屎"
:
100
,
"十万颗核弹"
:
0.01
}
k
=
input
(
"你这个傻逼要买什么!"
)
huoms
.
pop
(
"龙狙"
)
if
k
in
huoms
:
print
(
huoms
)
print
(
"你买的是"
+
k
+
",消费"
+
str
(
huoms
[
k
])
+
"元!"
)
\ No newline at end of file
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