#!/bin/python normal_ass='normal behavior' crazy_ass='what the fuck?' print('_'.join(normal_ass)) print(list(map(( lambda x: '_'.join(x)) ,crazy_ass)))
Standard input is empty
n_o_r_m_a_l_ _b_e_h_a_v_i_o_r ['w', 'h', 'a', 't', ' ', 't', 'h', 'e', ' ', 'f', 'u', 'c', 'k', '?']