Commit ed0c861b by BellCodeEditor

save project

parent c134944b
Showing with 5 additions and 4 deletions
list_hero=['赵一',30,'丁热',37,'孙五',52,'王猛',89]
dict_hero={'赵一':30,'丁热':37,'孙五':52,'王猛':89}
print(len(list_hero))
print(len(dict_hero))
dict_hero={'赵一':30,'丁热':37,'孙五':52}
print(dict_hero['赵一'])
dict_hero['孙五']=100
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