Commit 04e26b81 by BellCodeEditor

save project

parent a99eb107
Showing with 1 additions and 1 deletions
...@@ -16,7 +16,7 @@ print(list_hero) ...@@ -16,7 +16,7 @@ print(list_hero)
dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero['猴六']=66 dict_hero['猴六']=66
print(dict_hero) print(dict_hero)
for '猴六' in dict_hero: if '猴六' in dict_hero:
print(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