Commit a5cbd069 by BellCodeEditor

auto save

parent 149ad5e5
Showing with 12 additions and 2 deletions
m=('西瓜':909,'葡萄':490,'榴莲':22)
\ No newline at end of file
m=('西瓜':909,'葡萄':490,'榴莲':22)
k=input("水果名:")
v=input("输入"+k+"money")
if k in m:
if int(v)<m[k]:
print("更新了")
else:
print("涨价了")
else:
m[k]=v
print('已提交价格')
\ 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