Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_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
aca4028b
authored
May 19, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
5dde4449
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
jntm1.py
jntm1.py
0 → 100644
View file @
aca4028b
zdsmj
=
{
"农夫山泉"
:
2
,
"百事可乐"
:
5
,
"可口可乐"
:
1
,
"汤达人卓骨拉面"
:
5
,
"康师傅红烧牛肉面"
:
5
,
"康师傅老坛酸菜牛肉面"
:
5
,
"冰红茶"
:
5
}
k
=
input
(
"请问您想要什么"
)
p
-
input
(
"您需要几份"
)
if
k
in
zdsmj
:
print
(
"共"
+
str
([
k
]
-
p
)
+
"元"
)
else
:
print
(
"目前本店暂时没有这个商品的供应"
)
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