摘要:
一、序列类型(字符串,元组(),列表[])序列类型支持in,len(),分片[],迭代,5种内置序列类型:bytearray,bytes,list,str,tuple(元组)。1、元组可以嵌套(如:x=str[2][1][0][1])2、元组的命名(collections.namedtuple(),即自定义) 样:sale=collctions.namedtuple("sale","p... 阅读全文
posted @ 2018-10-21 21:55
conncent
阅读(758)
评论(0)
推荐(0)
浙公网安备 33010602011771号