python字符串与数组之间的转化

时间:2020-10-05 22:26:04   收藏:0   阅读:32
  1. arr = strval.split(‘‘)
    字符串转数组
     
    strval = ‘‘.join(arr) 
    数组转字符串
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!