I checked Print new output on same line
but am still confused:
import time
print("HI ", end=""),
time.sleep(2)
print("BYE")
it does print HI BYE on the same line, but it prints all at once after the sleep. I want to print HI then sleep for 2 seconds and print BYE after the 2s.
Ideas?
Thanks.