Commit 334ff609 by BellCodeEditor

save project

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