data = [['seq1', 'ACTAGACCCTAG'], ['sequence287653', 'ACTAGNACTGGG'], ['s9',
    'ACTAGAAACTAG']]
with open('myfile.txt', 'w') as file:
    pass
Writing white-space delimited text to be human readable in Python