Why is the following code
from __future__ import print_function
from time import sleep
def print_inline():
    print("Hello ", end='')
    sleep(5)
    print("World")
print_inline()
waits until the sleep is done to print Hello World, shouldn't print Hello then wait for 5 seconds and print World in the same line?
 
     
     
     
    