Update color/README.md

This commit is contained in:
2025-01-06 22:47:18 +00:00
parent fa66d4bb15
commit 927d31801f

View File

@@ -1,4 +1,5 @@
```python
for i,x in enumerate('rgybmcRGYBMC'):globals()[x]=lambda s,i=i:f'\x1b[{31+i//6*60+i%6}m{s}\x1b[0m'
print(r('hello'), R('hello'))
```