Commit daa9aa8a by BellCodeEditor

auto save

parent 3dfd9af0
Showing with 0 additions and 11 deletions
...@@ -8,13 +8,3 @@ ...@@ -8,13 +8,3 @@
# list_hero.insert(i,power) # list_hero.insert(i,power)
# break # break
# print(list_hero) # print(list_hero)
#任务1提取'猴队长'的臂力值
dict_hero1={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
print(dict_hero1['猴队长'])
#任务2修改'猴七'的臂力值为100
dict_hero2={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero2['猴七']=100
print(dict_hero2)
\ 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