Commit 6ebf084d by BellCodeEditor

save project

parent 51766e59
Showing with 2 additions and 2 deletions
...@@ -4,4 +4,4 @@ dict_hero={"赵一":30,"丁二":37,"孙五":52} ...@@ -4,4 +4,4 @@ dict_hero={"赵一":30,"丁二":37,"孙五":52}
dict_hero["王起"]="王八" dict_hero["王起"]="王八"
print(dict_hero) print(dict_hero)
if "丁二" in dict_hero: if "丁二" in dict_hero:
print(dict_hero[丁二]) print(dict_hero["丁二"])
\ No newline at end of file \ 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