(引用)Python 元素、元组、列表、字典的区别
转载:http://www.th7.cn/Program/Python/201407/231060.shtml
元素:
元组:tuple=('nice','to','meet','you')
列表:list=['nice','to','meet','you']
字典:dic={'a':1,'b':2,'c':3,'d':4,'e':5}
转载:http://www.th7.cn/Program/Python/201407/231060.shtml
元素:
元组:tuple=('nice','to','meet','you')
列表:list=['nice','to','meet','you']
字典:dic={'a':1,'b':2,'c':3,'d':4,'e':5}