We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a09c1a7 + a4e5613 commit 5ab4298Copy full SHA for 5ab4298
Colors/print_colors.py
@@ -1,20 +1,13 @@
1
import sys
2
-
3
4
class colors:
5
CYAN = "\033[36m"
6
GREEN = "\033[32m"
7
YELLOW = "\033[33m"
8
BLUE = "\033[34m"
9
RED = "\033[31m"
10
ENDC = "\033[0m"
11
12
13
def printc(color, message):
14
print(color + message + colors.ENDC)
15
16
17
-# color which we print or import
18
printc(colors.CYAN, sys.argv[1])
19
printc(colors.GREEN, sys.argv[1])
20
printc(colors.YELLOW, sys.argv[1])
example.txt
@@ -0,0 +1 @@
+Change from feature-branch
0 commit comments