Commit 01f0feee by BellCodeEditor

save project

parent a6aed8de
Showing with 2 additions and 2 deletions
abc={'樱桃':12,'梨子':3,'苹果':5}
b=input('你想要什么水果')
e=input('价格是:')
if d abc:
if int(e)>abc[d]
if d in abc:
if int(e)>abc[d]:
print("涨价了,我们不买了!")
else:
print("降价了")
......
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