Last active
December 31, 2023 18:26
-
-
Save soopyc/1c137dffb7afc4071a5c4d90c1885d26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Maintainer: soopyc (@[email protected]) | |
# SPDX-License-Identifier: CC0-1.0 | |
a = [] | |
b = [] | |
for color in range(40, 48): | |
a.append(f"\x1b[{color}m {color} ") | |
for color in range(100, 108): | |
b.append(f"\x1b[{color}m {color} ") | |
print("\n\x1b[38;2;255;255;255m" + "\x1b[49m ".join(a)+"\x1b[0m" + "\n\x1b[38;2;255;255;255m" + "\x1b[49m ".join(b)+"\x1b[0m") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment