Commit 22b78af3 by BellCodeEditor

save project

parent a2ffc814
Showing with 2 additions and 0 deletions
...@@ -13,3 +13,5 @@ dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30} ...@@ -13,3 +13,5 @@ dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
print(dict_hero["猴队长"]) print(dict_hero["猴队长"])
dict_hero["猴队长"]=100 dict_hero["猴队长"]=100
print(dict_hero["猴队长"]) print(dict_hero["猴队长"])
if "猴七" in dict_hero:
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