Commit a0c11bb0 by BellCodeEditor

save project

parent a8b83749
Showing with 2 additions and 1 deletions
...@@ -13,7 +13,8 @@ dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} ...@@ -13,7 +13,8 @@ dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero['猴五']=1000 dict_hero['猴五']=1000
print(dict_hero['猴一']) print(dict_hero['猴一'])
dict_hero['猴2']=95 dict_hero['猴2']=95
if '猴2' in dict_hero:
print(dict_hero['猴2'])
......
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