>> ALPHA = ['A','B','C','D'] >> ALPHA = ''.join(ALPHA) >> print(ALPHA) "ABCD" >> ALPHA = ['A','B','C','D'] >> ALPHA = '_'.join(ALPHA) >> print(ALPHA) "A_B_C_D"