Commit 1411cbcf by BellCodeEditor

save project

parent 83b73772
Showing with 12 additions and 0 deletions
a={'苹果':5,'陈泽后':0.0001,'荔枝':30}
a={'苹果':5,'陈泽后':0.0001,'荔枝':30}
b=input('你想要啥?')
c=input('价格是:')
if b in a:
if int(e)>a[b]:
print('贵了,买。')
else:
print('贱了,不买了。')
else:
a[b]=int(c)
\ 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