Commit 111caf13 by BellCodeEditor

save project

parent 83b73772
Showing with 11 additions and 0 deletions
abc={'苹果':10}
d=input("你想要的水果?")
e=input("今日水果价钱是多少?")
if d in abc:
if int(e)>abc[d]:
print("涨价了我们不买了")
else:
print("买吧")
else:
abc[d]=int(e)
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