Commit 7d7ca75d by BellCodeEditor

save project

parent 8b3f0614
Showing with 12 additions and 1 deletions
dict_SB={'侯三':0,'史珍香':-0.1,'大马猴':1,'狗腿子':2} dict_SB={'侯真贱':0,'史珍香':-0.1,'大马猴':1,'狗腿子':2}
print(dict_SB)
print(dict_SB['侯真贱'])
dict_SB['侯真贱']=0.1
print(dict_SB) print(dict_SB)
\ No newline at end of file
dict_SB={'奥利给':10000000000,'巧克力之翔':198347,'老八专用汉堡':145353553,'狗腿子':10000000}
r=input('尊敬的老八,你想吃什么')
if r in dict_SB:
print('你要支付'+r+'需要支付'+str(dict_SB[r])+'元')
else:
print('滚,没有')
\ 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