Feb-09-2019, 12:38 AM
you should always post enough of a code snippet so that it can be run, otherwise we can only approximate the proper answer
assuming fields of 17 characters each:
assuming fields of 17 characters each:
head = ['redshift', 'dA', 'dL'] print(f'{head[0]:17s} {head[1]:17s} {head[2]:17s}')