```python globals().update({color: lambda text, ansi=ansi: f'\x1b[{ansi}m{text}\x1b[0m' for color, ansi in zip("red green yellow blue magenta cyan".split(), range(91, 97))}) print(red('hello')) ```