Commit 2024d339 by BellCodeEditor

auto save

parent 83b73772
Showing with 11 additions and 0 deletions
money={'苹果':3,'梨子',4}
k=input("输入水果")
m=input("水果价钱")
if k in money:
if int(m)<money[k]:
print("降价了")
else:
print("涨价了")
else:
money[k]=int(m)
\ 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