📅  最后修改于: 2022-03-11 14:46:25.280000             🧑  作者: Mango
# Python 3
outputFile1 = open('text.txt', 'w')
outputFile2 = open('text2.txt'. 'w')
print('Hello World', file=outputFile1)
print('Hello World 2', file=outputFile2)