Commit b751851c by BellCodeEditor

save project

parent e1e17a1b
Showing with 6 additions and 0 deletions
...@@ -3,3 +3,8 @@ ...@@ -3,3 +3,8 @@
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字 # 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字
dict_hero={'猴三':43584,'猴二':73861,'猴八':62926,'猴四':39635,'猴队长':370521} dict_hero={'猴三':43584,'猴二':73861,'猴八':62926,'猴四':39635,'猴队长':370521}
print(dict_hero) print(dict_hero)
print(dict_hero['猴队长'])
dict_hero['猴三']=43590
print(dict_hero)
dict_hero['猴爸爸']=2828429
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