python工厂方式创建list

  

>>> l = list('sdfsdf')
>>> l
['s', 'd', 'f', 's', 'd', 'f']

  

原文地址:https://www.cnblogs.com/iNeoWong/p/4718445.html