Commit d15942bb by BellCodeEditor

save project

parent a0ed3969
Showing with 4 additions and 5 deletions
list_hero=['甲',1,'乙',2,'丙',3,'丁',4,'戊',5,'己',6,'庚',7,'辛',8,'任',9,'癸',10]
dict_hero={'甲':1,'乙':2,'丙':3,'丁':4,'戊':5,'己':6,'庚':7,'辛':8,'任':9,'癸':10}
print(len(list_hero))
print(len(dict_hero))
print(dict_hero['甲'])
\ No newline at end of file
dict_hero={'甲':1,'乙':2,'丙':3,'丁':4,'戊':5,'己':6,'庚':7,'辛':8,'任':9,'癸':0}
dict_hero['癸']=10
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