Commit d548ff4c by BellCodeEditor

save project

parent a323764b
Showing with 3 additions and 2 deletions
...@@ -14,5 +14,6 @@ dict_hero["李四"]=105 ...@@ -14,5 +14,6 @@ dict_hero["李四"]=105
print(dict_hero) print(dict_hero)
dict_hero["钱六"]=150 dict_hero["钱六"]=150
print(dict_hero) print(dict_hero)
if "张三" in dict_hero: if "李四" in dict_hero:
print("张三的成绩是:",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