你可以使用以下Python代码来创建该文本文件并写入数据: ```python data = [ ['姓名', '语文', '数学', '英语'], ['张三', '85', '76', '91'], ['李四', '89', '92', '96'], ['王五', '72', '84', '88'] ] # 打开文件,以写入模式写入数据 with open('scores.txt', 'w') as file: for line in data: file.write('\t'.join(line) + '\n') ``` 此代码将以制表符作为字段之间的分隔符,将数据逐行写入到 `scores.txt` 文件中。 [2024-04-21 15:53:03 | AI写代码神器 | 342点数解答]