Commit d7b90653 by BellCodeEditor

auto save

parent 067f7e58
Showing with 7 additions and 2 deletions
......@@ -6,9 +6,9 @@ v=input('请输入水果价钱:')
if k in cost:
if float(v)<cost[k]:
cost[k] = float(v)
print(k+'降价了,现价'+str(v)+'元')
print(k+'降价了,现价'+str(v)+'元,赶快去抢!!')
else:
print(k+'涨价了,我们不买')
print(k+'涨价了,我们把水果摊给掀了吧,哈哈哈哈')
else:
cost[k] = float(v)
print(k+'的价钱'+str(v)+'元已上传~')
weather={'北京':8,'上海':15,'广州':20,'深圳':8989889}
data=weather.pop("北京")
print(data)
print(weather)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment