def colorprint(string):
    """
        colorprint() function
        ________________________________________________________________________

        Print <string> with some colors defined by the following keywords :
        ▪ "[color1]"    : red
        ▪ "[color2]"    : white
        ▪ "[color3]"    : inversed red
        ▪ "[color4]"    : inversed white
        ▪ "[default]"
        ________________________________________________________________________

        ARGUMENT:
        ▪ string : (str) the string to be displayed

        no RETURNED VALUE
    """
    string = string.replace('[color1]', '\x1b[0;31;1m')
    string = string.replace('[color2]', '\x1b[0;37;1m')
    string = string.replace('[color3]', '\x1b[0;31;7m')
    string = string.replace('[color4]', '\x1b[0;37;7m')
    string = string.replace('[default]', '\x1b[0m')
    print(string)
