Commit 1f7fc141 by BellCodeEditor

save project

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