python工厂方式创建list

  

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

  

posted on 2015-08-10 16:44  sudo987  阅读(125)  评论(0编辑  收藏  举报

导航