1 import string 2 str = 'abcde' 3 list = list(str) OR list = str.split() 4 list 5 ['a', 'b', 'c', 'd', 'e'] 6 str 7 'abcde' 8 str_convert = ''.join(list) 9 str_convert 10 'abcde'
1 import string 2 str = 'abcde' 3 list = list(str) OR list = str.split() 4 list 5 ['a', 'b', 'c', 'd', 'e'] 6 str 7 'abcde' 8 str_convert = ''.join(list) 9 str_convert 10 'abcde'