**已关闭。**此问题不可复制或由打字错误引起。它目前不接受答案。
**想要改进此问题?**更新问题,使其位于堆栈溢出主题上。
昨天关门了。
改进这个问题
new_record = []
newfile_list = []
new_record.append(content[0])
new_record.append(new_name)
new_record.append(content[2])
new_record.append(content[3])
new_record.append(content[4])
print(new_record)
newfile_list.append(new_record)
print(newfile_list.append)
为什么新文件列表保持为空?我试图通过附加到嵌套列表上来创建它
暂无答案!
目前还没有任何答案,快来回答吧!