how to parametrize the format specifier for string formatting?
a, b, c = 1, 2, 3
print("a = {:.3f}, b = {:.3f}, c = {:.3f} ".format(a, b, c))
print(f"{a = :.3f}, {b = :.3f}, { c= :.3f}")
fmt = .3f # <<== invalid syntax
print(f"{a = fmt}, {b = fmt}, { c= fmt}")