Text coloring | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Text coloring

guys why we can't use termcolor module to color text in sololearn. Text look attractive when we color it. and here we can't use termcolor module to color text in python. pls help me i wanna color my text to make it attractive. https://code.sololearn.com/cbeuiyBG7K6C/?ref=app

18th Mar 2019, 5:08 AM
Ninja
Ninja - avatar
1 Answer
+ 4
SoloLearn is limited to only in-built python modules( exception is the numpy ). And since termcolor is also a third-party module which needs additional installation, hence you can't use it here. Moreover, you don't necessarily need any module to produce colored text. See this https://code.sololearn.com/c0CQWr4s36M4/?ref=app
18th Mar 2019, 5:34 AM
Шащи Ранжан
Шащи Ранжан - avatar