+ 3

How can we set the text to a different color?

I wanted to use colors to make my program a little more attractive... How can I put different colors to the print function so that I can achieve this task? Will I require some external modules to download for this?

23rd May 2017, 3:26 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
2 Answers
+ 10
You might use colorama module for Python. It won't go in Sololearn, but should work elegantly in your IDE output console :)
23rd May 2017, 5:41 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 6
Thank You, Sir!
23rd May 2017, 5:43 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar