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
a946c5f3
authored
Jun 05, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
86318963
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
diy.py
hello.py
holle.py
diy.py
deleted
100644 → 0
View file @
86318963
fruit
=
{
'香蕉'
:
5
,
'葡萄'
:
4
,
'苹果'
:
3
,
'梨'
:
6
}
k
=
input
(
'水果的名称'
)
v
=
input
(
'水果的最新价格'
)
if
k
in
fruit
:
if
int
(
v
)
<
fruit
[
k
]:
print
(
'水果降价了'
)
else
:
print
(
'不买了'
)
\ No newline at end of file
hello.py
0 → 100644
View file @
a946c5f3
hello
world
!
\ No newline at end of file
holle.py
0 → 100644
View file @
a946c5f3
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