Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-4
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
68714a28
authored
Jan 04, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
a2ac2109
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
1.py
2.py
diy.py
1.py
View file @
68714a28
#1.创建一个文件1.txt,
\ No newline at end of file
2.py
deleted
100644 → 0
View file @
a2ac2109
diy.py
View file @
68714a28
food
=
{
"可口可乐"
:
4
,
"辣条"
:
3
,
"薯片"
:
12
}
#1.输入名字和价格
#2.判断商品是否在字典中
#3.判断新商品和原本字典中的商品哪个更便宜
#4.便宜就修改字典的值
#5.否则就输出太贵了
#6.如果不在就添加进字典中,并输出
\ 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