Nov-21-2017, 12:03 PM
your tabs do not match.
header has 4 tabs before State field,
detail has only two.
you need to use two for both, and then adjust tab width to match.
A better way would be to format each field for maximum width, or anticipated maximum width
and then print fields with fixed spacing between.
for a good tutorial, see: https://www.python-course.eu/python3_for...output.php
header has 4 tabs before State field,
detail has only two.
you need to use two for both, and then adjust tab width to match.
A better way would be to format each field for maximum width, or anticipated maximum width
and then print fields with fixed spacing between.
for a good tutorial, see: https://www.python-course.eu/python3_for...output.php