In the code below, the diamond characters (\4) are not printed immediately but after the loop is completed. Any ideas why?
from os import system from time import sleep def load(): system('cls') i = 0 sleep(1) print("\n\n\n\n\n\n\n\n\n\n\n\t\t\t Loading ", end=' ') for i in range(6): sleep(1) print("\4", end=' ') sleep(2) load()
from __future__ import print_function)