>>> l = ['d', 'a', 't', 'a'] >>> print(''.join(l)) #data data >>> print('_'.join(l)) #d_a_t_a d_a_t_a
출처 https://wikidocs.net/15559