What is flush in the print function in python? What happens if it is set True? In what cases setting it True helps? Please provide good examples to understand.
print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)
Asked
Active
Viewed 762 times
-1

Niraj Raut
- 205
- 2
- 7