Header Ads Widget

import colorama from colorama import Fore, Back, Style colorama.init() text = "Hello World!" # Replace with your desired text colors = [Fore.RED, Fore.YELLOW, Fore.GREEN, Fore.BLUE, Fore.MAGENTA, Fore.CYAN] rainbow_text = "" for i, char in enumerate(text): rainbow_text += colors[i % len(colors)] + char

Post a Comment

0 Comments