def print_word(word, orp_config):
    """Pretty print ``word`` with spritz color formatting

    :param word: the word to be color-coded
    :type word: ``unicode``
    :param orp_config: formatting data for ``word``
    :type orp_config: ``tuple`` of ``integers``
    :returns: Nothing. Prints to console
    :rytpe: ``None``
    """
    (orp, prefix, postfix) = orp_config
    orp = 1 - orp           # change for Python list indexing
    print_string = (" " * prefix) + color_orp_char(word, orp) + (" " * postfix)

    print("\r{}".format(print_string))
    sys.stdout.flush()

##################################################
#   Clean-Up Functions                           #
##################################################
dataset/ETHPy150Open littleq0903/spritz-cmd/bin/spritz.py/print_word/swapped operands of `-`