Commit 75c75c1f by BellCodeEditor

save project

parent 2fdda9b2
Showing with 5 additions and 3 deletions
dict_hero = {"张三":37,"李四":89,"王五":99}
print(dict_hero["张三"])
dict_hero["王五"] = 90
print(dict_hero)
\ No newline at end of file
dict_hero["王五"]
print()
if"张三"in dict_hero:
print(dict_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