SyntaxFix
Write A Post
Hire A Developer
Questions
I wanted a way to do this without using an extra module. First turn list to string, then append to an array:
dataset_list = ''.join(input_list) dataset_array = [] for item in dataset_list.split(';'): # comma, or other dataset_array.append(item)