Ask coding questions

← Back to all posts
Could somebody tell me how to add colors to this repl?
GhostKingNico (8)

I'm trying to make the text green but I am not sure how to???? How do I make the colors random?

Comments
hotnewtop
[deleted]

Here is more information over how to use colors:

https://replit.com/talk/learn/Python-Text-Styles/118062

[deleted]

To make green color use:

print("\033[32mGreen")

InvisibleOne (3263)

Just put that into your repl, and then you can print stuff like: