Commit a87261de by BellCodeEditor

save project

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