foo = 'foo' print(f"{foo=!r:>20}") print(f"{foo.upper()=!r:>20}")
print(f"{x=:.2f} {dx=:.2f} {dot_product=:.4f}")