Here is how to flush the output of the print function in Python

Here is how to flush the output of the print function in Python