Commit 4f234fcd by BellCodeEditor

save project

parent a75747a9
Showing with 10 additions and 6 deletions
dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} # dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero['猴一']=51 # dict_hero['猴一']=51
dict_hero['猴队长']=2 # dict_hero['猴队长']=2
del(dict_hero['猴七']) # del(dict_hero['猴七'])
print(dict_hero) # print(dict_hero)
\ No newline at end of file # a={}
# a['北京']='烤鸭'
# a['天津']='狗不理包子'
# if '天津' in a:
# print(a['天津'])
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