摘要:
赋值:"""s[i:j] = tslice of s from i to j is replaced by the contents of the iterable t"""li = ["a",2,True,"b"]li[4:5] = ["c",False,3] #批量赋值,超过范围自动扩展List大小print li>>['a', 2, True, 'b', 'c', False, 3]索引: li = [&quo 阅读全文
posted @ 2014-02-27 23:25
Z.J
阅读(138)
评论(0)
推荐(0)

浙公网安备 33010602011771号