Pro dan kontra dari fungsi cetak flush python

from time import sleep

# output is flushed here
print("Hello, world!", end='', flush= True)
sleep(5)
print("Bye!!!")
slaff