Commit 2dac2916 by BellCodeEditor

save project

parent 73904d91
Showing with 6 additions and 2 deletions
......@@ -3,4 +3,8 @@
dict_hero={"猴三":10,"猴一":21,"猴五":22,"猴队长":29,"猴七":30}
print(dict_hero)
dict_hero["猴一"]=40
print(dict_hero["猴一"])
\ No newline at end of file
print(dict_hero["猴一"])
dict_hero['猴王']='孙悟空'
print(dict_hero['猴王'])
if '猴王' in dict_hero:
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