Commit 334ff609 by BellCodeEditor

save project

parent 5c3ea43e
Showing with 5 additions and 7 deletions
dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
print(dict_hero)
print(dict_hero['猴三'])
dict_hero['dss']=99
print(dict_hero)
if '猴三' in dict_hero:
dict_hero['大傻逼']=99
qwe={'可乐':3,'牛奶':5}
kk=input("要买什么")
if kk in qwe:
print(str(qwe[kk])+"元")
\ 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