def random_rainbow(s):
 colors_shuffle = [(globals()[i.encode('utf8')] if (not str(i).isdigit()) else term_color(int(i))) for i in c['CYCLE_COLOR']]
 colored = [random.choice(colors_shuffle)(i) for i in s]
 return ''.join(colored)

def random_rainbow ( s ) : colors_shuffle = [ ( globals ( ) [ i . encode ( 'utf8' ) ] if ( not str ( i ) . isdigit ( ) ) else term_color ( int ( i ) ) ) for i in c [ 'CYCLE_COLOR' ] ] colored = [ random . choice ( colors_shuffle ) ( i ) for i in s ] return '' . join ( colored )
print a string with random color with each character .