Commit 043186a9 by BellCodeEditor

save project

parent 4098e755
Showing with 9 additions and 0 deletions
...@@ -14,6 +14,15 @@ print(dict_hero) ...@@ -14,6 +14,15 @@ print(dict_hero)
dict_hero['孙悟空']=50 dict_hero['孙悟空']=50
print(dict_hero['孙悟空']) print(dict_hero['孙悟空'])
print(dict_hero) print(dict_hero)
dict_hero['孙傻逼']=25
print(dict_hero)
if '孙悟空' in dict_hero:
print(dict_hero['孙悟空'])
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