def sprint(s):
    """ Print without newline and immediately update the display 

        Parameters
        ----------
        s: string
            The string to print
    """
    print(s, end='', flush=True)
