''.join(<list>):可指定任意间隔字符(无法转换 int 类型列表) ''.join([sgr(_) for _ in <list>]) #列表推导 ''.join(map(str, <list>)) #map()