Commit 85c1ae91 by BellCodeEditor

save project

parent 1e0bfc0a
Showing with 6 additions and 2 deletions
......@@ -12,4 +12,9 @@
dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
dict_hero['猴一']=30
print(dict_hero)
\ No newline at end of file
print(dict_hero)
if '猴三' in dict_hero:
print(dict_hero['猴三'])
dict_hero['猴八']=100
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