Commit 6c6cda84 by BellCodeEditor

save project

parent 2787e079
Showing with 5 additions and 3 deletions
......@@ -2,5 +2,7 @@ dict_hero = {"小猴":100,"猴2":150}
print(dict_hero["猴2"])
dict_hero["猴2"] =160
print(dict_hero["猴2"])
dict_hero["猴3"]=[190]
print(dict_hero)
\ No newline at end of file
dict_hero["猴3"]=190
print(dict_hero)
if "猴3" in dict_hero
print(dict_hero["猴3"])
\ 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