How to add colour to text in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to add colour to text in Python?

How i can add colour to the text and background in Python with and without any library?

25th Jul 2021, 8:52 AM
Sagar Yadav
Sagar Yadav - avatar
4 Answers
+ 3
ミ Shiva 彡 Background color in python is not Possible on Sololearn because Sololearn doens't support some library and also without library not possible.
25th Jul 2021, 9:08 AM
A͢J
A͢J - avatar
+ 2
The future is now thanks to science[In a break] Will you explain how you used html code in python?
25th Jul 2021, 9:26 AM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
+ 2
@Mohan333 I also don't know. I got the idea from here: https://code.sololearn.com/cWNO6vBzdrwV I think you might find some useful information in the comments of that code.
25th Jul 2021, 9:30 AM
The future is now thanks to science
The future is now thanks to science - avatar