运维网's Archiver
论坛
›
Python
› python list 合并
yuandan
发表于 2017-4-22 13:22:43
python list 合并
来自网络的代码:
Python 2.7.2 (default, Jun 12 2011, 15:08:59) on win32
Type "copyright", "credits" or "license()" for more information.
>>> A =
>>> B =
>>> A+B
>>> A.extend(B)
>>> A
>>> A.append(B)
>>> A
]
页:
[1]
查看完整版本:
python list 合并