Answer:
Step-by-step explanation:
There is insufficient information to accurately respond but I have done in a simple manner.
Since I don't know what the contents of the two python files referred to in the document, I have used my own formatting method and check for moving to a newline.
Also, don't know how the data is inputted; I have assumed that the data is in a file called data.txt
There are more elegant ways t do this but I have done this quickly and simply
with open("data.txt") as f: # open file for reading
data = f.read() # read all data
lines = data.split() #split data into individuals
i = 1 #counter to track how many lines outputted
for line in lines: # for each item in lines
print('{:20s}'.format(line), end = '') # suppress line feed
if i % 3 == 0: #check to see if 3 items printed out
print() # if so, print new line
i+=1 #increment counter
f.close() # close file - not necessary if using open