直接上代码啦~ res=[] for name in name: res = name res.append(name_str) res = res print(type(res)) 天勤 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 转载请注明原文链接:Python for输出转为list 喜欢 (0)