Ask coding questions

← Back to all posts
Can you change the color of comments?
CodeMaster007

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
CodeMaster007
Comments
hotnewtop
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?

ch1ck3n

i dont think you can