Commit 9caa2f69 by BellCodeEditor

save project

parent 67ddeba9
Showing with 1 additions and 1 deletions
dict={'史瀚鑫':10'李嘉林':2'贾子强':6'李所男':1;'李博瀚':10000000000} dict={'史瀚鑫':10,'李嘉林':2,'贾子强':6,'李所男':1,'李博瀚':100}
k=input('你想买什么东西呀?') k=input('你想买什么东西呀?')
if k in dict: if k in dict:
print('丁咚,您的'+k+'需要支付'+str(dict[k])+'元,') print('丁咚,您的'+k+'需要支付'+str(dict[k])+'元,')
......
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