Answers for "print in different colors python"

4

how to color print in python

#pip install termcolor
from termcolor import cprint

cprint('Hello, World! In yellow highlighted in red!', 'yellow', 'on_red')
cprint('Hello, World! Underlined in red!', 'red', attrs=["underline"])
Posted by: Guest on February-01-2021

Code answers related to "print in different colors python"

Python Answers by Framework

Browse Popular Code Answers by Language