I have print statements of the form:
print("a = ", a, "b = ", b, "c = ", c)
where a, b, and c are floating point numbers. I want to print to three decimal places, and keep the print statements in the form they are in currently, if possible?
Attempt
Following a similar post, I attempted the following:
print(" %.3f a = ", a, "%.3f b = ", b, "%.3f c = ", c)
but this just printed "%.3f" in the print statement. Any suggestions on how to adjust my print statement?