摘要:
>>> test1 = dict(key8="ccc",key3="ete",key2="iii",key4 = "wwww") >>> type(test1) <class 'dict'> >>> len(test1) 4 >>> for i,j in test1.items(): print(i 阅读全文
摘要:
1、 >>> test1 = dict(key1="xxx",key2="aaa",key3=100,key="abc") >>> test1 {'key1': 'xxx', 'key2': 'aaa', 'key3': 100, 'key': 'abc'} >>> type(test1) <cla 阅读全文
摘要:
>>> test1 = {"zhangsan":["java","c","python"],"lisi":["c++","golang"],"wangwu":["c","java","python","javascript"]} >>> type(test1) <class 'dict'> &g 阅读全文