Commit bea1ca14 by BellCodeEditor

save project

parent 101b9dc9
Showing with 6 additions and 5 deletions
list_hero=["1",9,"2",10,"单鲲鹏",11,"鸡你太美",12,"jj",13]
dict_hero={"1":9,"2":10,"单鲲鹏":11,"鸡你太美":12,"jj":13}
print(len(list_hero))
print(len(dict_hero))
\ No newline at end of file
dict_hero={"1":1,"2":2,"3":3,"4":4,"5":5}
print(dict_hero)
print(dict_hero['1'])
dict_hero['2']=4
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