+ 2
I haven't done it, but to figure it out I would start here:
"How to put color in Python, C, C++, C#, Java and batch on the Windows console"
"In this article, you will see how to use ANSI colors in Windows and Linux ..."
https://www.codeproject.com/Tips/5255355/How-to-Put-Color-on-Windows-Console
+ 1
Aquila you have to ensure that the console is configured to recognize ANSI escape sequences. Sololearn has it disabled.