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
cf6e9a0c
authored
Jan 17, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
41cf9161
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
.py
.py
View file @
cf6e9a0c
d
=
{
'望仔nb糖'
:
100
,
'脓腐汕鳈'
:
250
,
'左臂小炒'
:
5000
}
d
=
{
'望仔nb糖'
:
100
,
'脓腐汕鳈'
:
250
,
'左臂小炒'
:
5000
,
}
p
=
input
(
"欢迎光临~~~~~~~~~~~~~~~宁还健在吗?需要撒子安"
)
if
p
in
d
:
print
(
"洒币~~~~~~~~~~~~~~你的"
+
p
+
"要"
+
(
d
[
p
])
+
"块钱~~~~~~~~~~~~~~~~"
)
q
=
input
(
"洒币~~~~~~~~~~~~~~你的"
+
p
+
"要"
+
str
(
d
[
p
])
+
"块钱~~~~麻烦宁付一哈~~~~~~爷这不支持写欠条~~~~~~"
)
if
q
==
d
[
p
]:
print
(
"哦可爬吧"
)
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