плюсы и минусы функции печати Python Flush
from time import sleep
# output is flushed here
print("Hello, world!", end='', flush= True)
sleep(5)
print("Bye!!!")
slaff
from time import sleep
# output is flushed here
print("Hello, world!", end='', flush= True)
sleep(5)
print("Bye!!!")