I have multiple lists, for example,
x = [1,2,3,4]
y = [5,6,7,8]
z = [9,10,11,12]
And I want to write one element of each list to a file.
The output I'm trying to get is 1 5 9 2 6 10 3 7 11 4 8 12
. So all the first elements, then all the second, and so forth.