Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Colored Print In Python

# the string '33[92m' represents the color green,
# and '33[0m' is used to go back to the standard color of the terminal

GREEN = '33[92m'
END_COLOR = '33[0m'
print(GREEN + "Hello World" + END_COLOR)
 
PREVIOUS NEXT
Tagged: #Colored #Print #In #Python
ADD COMMENT
Topic
Name
8+3 =