Python flush method Exmple

Python flush method: The flush is a method of IOBase class in Python that is used to clear the internal