Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-5
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
470a8bea
authored
Mar 20, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
9c557f86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
lls.py
lls.py
View file @
470a8bea
f
=
{
"屁屁"
:
1
,
"鹿茸"
:
2
,
"灵芝"
:
10
,
"鼻屎"
:
4
,
"蟠桃"
:
9
}
h
=
input
(
"好妈妈,输入水果名"
)
a
=
input
(
"马马,钱是多少"
)
if
k
in
dit
:
if
h
in
f
:
if
int
(
a
)
<
f
[
h
]:
dict
[
k
]
=
int
(
v
)
print
(
"更新啦"
)
else
:
print
(
"最新价格没"
)
else
:
f
[
k
]
=
a
\ No newline at end of file
f
[
h
]
=
int
(
a
)
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