def colorize(lead, num, color):
 s = (u'%s=%-4s' % (lead, str(num)))
 if ((num != 0) and ANSIBLE_COLOR and (color is not None)):
  s = stringc(s, color)
 return s

def colorize ( lead , num , color ) : s = ( u'%s=%-4s' % ( lead , str ( num ) ) ) if ( ( num != 0 ) and ANSIBLE_COLOR and ( color is not None ) ) : s = stringc ( s , color ) return s
return string surrounded by appropriate terminal color codes to print colorized text .