Ask coding questions

← Back to all posts
How do you add bold text to a repl? - Python / Python with Turtle
SuperKidCo (4)

I want to add bold text to one of one of my repls (Python with Turtle), but I don't know how to. Does anybody?

Answered by Kai_Justice (266) [earned 5 cycles]
View Answer
Comments
hotnewtop
Kai_Justice (266)
class color:
   PURPLE = '\033[95m'
   CYAN = '\033[96m'
   DARKCYAN = '\033[36m'
   BLUE = '\033[94m'
   GREEN = '\033[92m'
   YELLOW = '\033[93m'
   RED = '\033[91m'
   BOLD = '\033[1m'
   UNDERLINE = '\033[4m'
   END = '\033[0m'

print(color.BOLD + 'This text is bold!' + color.END)

If this worked then press the funny checkmark under the upvote button

SuperKidCo (4)

@Kai_Justice this works on python but not python with turtle Thanks