#!/user/bin/python
# -*- coding:utf-8 -*-
s = 'zd:zs:ls:ww:zl'
s1 = s.split(':')
print(s1)
2017-12-18python全栈9期第三天第二节之str常用操作方法及for循环之字符串装换成列表用split
猜你喜欢
转载自www.cnblogs.com/zhang-da/p/10198433.html
今日推荐
周排行