Commit 8057edf2 by BellCodeEditor

save project

parent 1e6ac22a
Showing with 5 additions and 0 deletions
...@@ -13,3 +13,7 @@ dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} ...@@ -13,3 +13,7 @@ dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero['猴队长']=35 dict_hero['猴队长']=35
dict_hero['泼猴']=1 dict_hero['泼猴']=1
print(dict_hero) print(dict_hero)
for i in dict_hero:
if i=="猴队长":
print(dict_hero[i])
break
\ 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