Commit 288f3142 by BellCodeEditor

save project

parent be9e83c6
Showing with 4 additions and 2 deletions
...@@ -3,4 +3,6 @@ list_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} ...@@ -3,4 +3,6 @@ list_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
# print(list_hero) # print(list_hero)
# print(list_hero["猴三"]) # print(list_hero["猴三"])
list_hero['猴老二']=100 list_hero['猴老二']=100
print(list_hero) print(list_hero)
\ No newline at end of file if "猴队长" in list_hero:
print(list_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