print specific part in bold or colours and end

Solutions on MaxInterview for print specific part in bold or colours and end by the best coders in the world

showing results for - "print specific part in bold or colours and end "
Mila
11 Nov 2019
1class color:
2   PURPLE = '\033[95m'
3   CYAN = '\033[96m'
4   DARKCYAN = '\033[36m'
5   BLUE = '\033[94m'
6   GREEN = '\033[92m'
7   YELLOW = '\033[93m'
8   RED = '\033[91m'
9   BOLD = '\033[1m'
10   UNDERLINE = '\033[4m'
11   END = '\033[0m'
12
13print(color.BOLD + 'Hello World !' + color.END)
14
similar questions
print bold python