Commit fa04174e by BellCodeEditor

auto save

parent a2264b2d
Showing with 11 additions and 0 deletions
abc={'苹果':3}
d=input('你想要的的水果')
e=input('价格是:')
if d in abc:
if int(e)>abc[d]:
print('涨价了')
else:
print('降价了')
else:
abc[d]=int(e)
\ 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