Python Format новый

a = 1.2345
print(f"a = {a:.2f}")
#Output: a = 1.23
Real Raccoon