May-03-2021, 11:44 AM
I guess the buffers are flushed at the end of the for-loop.
You can enforce the flush with the print function.
Instead of calling
You can enforce the flush with the print function.
Instead of calling
print('.',end='')
, you call print('.',end='', flush=True)
.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!