Python for输出转为list

直接上代码啦~

res=[]
for name in name:
    res = name
    res.append(name_str)

res = res
print(type(res))

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注