99问答网
所有问题
如何在Python里去掉列表的方括号和引号
如何在Python里去掉列表的方括号和引号
举报该问题
推荐答案 2019-01-24
加个*号就行了
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://99.wendadaohang.com/zd/OXXjWBOejOXzez7zzv.html
其他回答
第1个回答 2017-06-03
# -*- coding: utf-8 -*-
list = ['1','2','3']
print ','.join(list)
print map(int,list)
.
>>>
1,2,3
[1, 2, 3]
>>>
不知道是不是你说的意思
本回答被网友采纳
相似回答
大家正在搜
相关问题
Python的list去掉括号和引号
怎么将这个python的程序的引号和括号去掉?变成符合题意的...
python去掉列表中元组元素上面引号?
python 去除如下字符串中 的所有中括号
如何去掉Python列表中的单引号
python中,如何去掉字符串自带的引号
python如何去掉括号及内容
python 怎么去掉列表内一组数的单引号