我有看起来像这样的 Print 函数:print(*hint_y, sep='\n')(hint_y 是嵌套列表),其输出如下所示: 1 1 1 1 4 1 1 1 4如何将此打印重定向到文本文件? 查看完整描述