这里写自定义目录标题
4. More Control Flow Tools—4.9.4. Arbitrary Argument Lists — Python 3.13.3 documentation
里面的代码
def write_multiple_items(file, separator, *args):
file.write(separator.join(args))
无法运行,修改为
def write_multiple_items(file, seperate, *args):
file = open(file, "w")
file.write(seperate.join(args))
file.close()
可以运行。