[Solved] How to use python join the arrays and specify from which array?


with open('foo.txt', 'w') as f:
    for i, array in enumerate([Array_1, Array_2]):
        for s in array:
            print(f'"{s}"', i, file=f)

Where 'foo.txt' is the path to your text file.

1

solved How to use python join the arrays and specify from which array?