Hey @Faridahadedoyin welcome to the forums!
Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!
Also see this guide on how to share your code:
You could import termcolor
and use colored(“text”, “color”)
. Or you could use ANSII
escape codes. Both of these are great options to change the color of text. I personally like to use ANSII escape codes with f-strings so it’s not cluttered. I hope this helps!
I probably missed a few, feel free to add them in, it’s a wiki.