Commit 53195c34 by BellCodeEditor

auto save

parent 6e230a78
Showing with 18 additions and 0 deletions
dicw={'熊大':10.10,'熊二':1.1,'蹦蹦':10.01,'吉吉':10.9,'我大':1000.900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007}
k=input("你想买什么?")
s=input("请输入价钱")
if k in dicw:
if float(s)<dicw[k]:
dicw[k]=float(s)
print(k+'降价了,现价'+s+'元')
else:
print(k+'涨价了,不买了')
else:
dicw[k]=float(v)
print(k+'的价钱'+s+'元以上床')
# print(dicw['熊大'])
# dicw['熊二']=100000000000
# print(dicw)
# dicw['光头强']=100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
# print(dicw)
\ 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