I use this answer for printing colored in python, but for printing variable I have problem because it prints it like a tuple like below:
from termcolor import colored
val = 'fruit'
print(colored(('Banana is', val), 'yellow'))
>>> ('Banana is', 'fruit')
But this is the output I want:
>>> Banana is fruit
(also without apostrophe)