Skip to content
← Back to Community
Can you change the color of comments?
Profile icon
lsikora

Is there a way to change the color of a comment (in python specifically)? I am doing a project where I need to change the color, one after another. So like this for example...

#this comment is blue
print("hello world")
#this comment is red

Thanks in advance!

Answered by OlauPla [earned 5 cycles]
View Answer
Voters
Profile icon
Kelsey-Steven-Ada
Profile icon
lsikora
Comments
hotnewtop
Profile icon
OlauPla

Hi! You can't do that on repl.it, sorry! But you can change the color of the text that appears on the console, maybe you want that?

Profile icon
Philip-TT

This is very smart, really an intelligent idea. This is my first time in your blog and I really love it. Thanks for this awesome post. check this link

Profile icon
sarahemmaa

It really looks great, I've seen many other posts, that's the info I needed, thanks for sharing. word finder

Profile icon
ch1ck3n

i dont think you can