Im trying to print colored headers to the console but it seems to be messing with the spacing. Why does it ignore the spacing?
yellow = lambda text: '\033[0;33m' + text + '\033[0m'
print(f"{yellow('Header1'):<15} {'Header2':<15} Header2")
Output:
Header1 Header2 Header2