[ad_1]
numbers = [1,2,3,4,5,6]
with open('output.txt', 'w') as f:
f.write('\t'.join(numbers))
Not really sure what else you mean
[ad_2]
solved how to write to a text file using python ?
[ad_1]
numbers = [1,2,3,4,5,6]
with open('output.txt', 'w') as f:
f.write('\t'.join(numbers))
Not really sure what else you mean
[ad_2]
solved how to write to a text file using python ?