Created
September 24, 2024 11:43
-
-
Save yungztrunks/e1c198e2c198d2a11e7b6b0392eb2b39 to your computer and use it in GitHub Desktop.
Python colored print statements, various printed colors
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
PURPLE = "\033[95m" | |
CYAN = "\033[96m" | |
DARKCYAN = "\033[36m" | |
BLUE = "\033[94m" | |
GREEN = "\033[92m" | |
YELLOW = "\033[93m" | |
RED = "\033[91m" | |
BOLD = "\033[1m" | |
UNDERLINE = "\033[4m" | |
END = "\033[0m" | |
# for a single line | |
print(GREEN, "It works!", END) | |
# can also be used for longer lines | |
print(BLUE, "Cursed Technique") | |
print(RED, "Cursed Technique") | |
print(PURPLE, "Hollow Technique", END) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment