import colorama from colorama import Fore print(Fore.RED + 'This text is red in color')#you can change color #In case you want to print variable num1 = 10 print(Fore.BLUE,num1)