Commit 2dac2916 by BellCodeEditor

save project

parent 73904d91
Showing with 5 additions and 0 deletions
...@@ -4,3 +4,7 @@ dict_hero={"猴三":10,"猴一":21,"猴五":22,"猴队长":29,"猴七":30} ...@@ -4,3 +4,7 @@ dict_hero={"猴三":10,"猴一":21,"猴五":22,"猴队长":29,"猴七":30}
print(dict_hero) print(dict_hero)
dict_hero["猴一"]=40 dict_hero["猴一"]=40
print(dict_hero["猴一"]) print(dict_hero["猴一"])
dict_hero['猴王']='孙悟空'
print(dict_hero['猴王'])
if '猴王' in dict_hero:
print(dict_hero['猴王'])
\ 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