-1

I am using tprint from art (code is shown below), and I want to make it look coloured, using colorama, but when I run the code, I get white instead of magenta, but a few wacky letters infront of it.

Input:

my input

Output: my output

How do I fix this? (Art can be found here.)

monkey
  • 526
  • 7
  • 21

1 Answers1

2

If you have no problem using text2art instead of tprint, the following code should do the job.

from art import *
from colorama import Fore

art = text2art("meh")
print(Fore.MAGENTA + art)
V3K3R
  • 164
  • 1
  • 5