Question: Why is the output of printf delayed?

When there are print commands in a loop their content is printed as soon as this command is executed.
This is not the case with printf whose displays are delayed (buffered?).
Is there a way to force the display of printf when the command is executed?


Motivation: I want to display intermediate execution times in a prettier way than print offers.

Please Wait...