def coloring(color, text):
    """Print a text in a specified color"""
    color_sequences = {
        'default': '\033[0m',
        'black': '\033[30m',
        'red': '\033[31m',
        'green': '\033[32m',
        'yellow': '\033[33m',
        'blue': '\033[34m',
        'purple': '\033[35m',
        'lightblue': '\033[36m',
        'white': '\033[37m',
        }
    return color_sequences[color] + text + color_sequences['default']