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 320 times
-1
Niraj Raut
- 165
- 1
- 7