#!/bin/python normal_ass='normal behavior' crazy_ass='what the fuck?' print('_'.join(normal_ass)) print(list(map(( lambda x: '_'.join(x+x)) ,crazy_ass)))
Standard input is empty
n_o_r_m_a_l_ _b_e_h_a_v_i_o_r ['w_w', 'h_h', 'a_a', 't_t', ' _ ', 't_t', 'h_h', 'e_e', ' _ ', 'f_f', 'u_u', 'c_c', 'k_k', '?_?']