Commit a87261de by BellCodeEditor

save project

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