I'm trying to write out some numbers in a text file and they need to be output in a very specific format. I'm trying to use Python's string formatting, but I can't quite get it right. What I need is ...
is still more verbose than: f'The answer is {answer}' The people working on this facility would seem to agree. But a couple of folks have said this now, so perhaps this feeling isn't universal?