i have a list
strings = ['abc efg hijklmn aaaaa']
and I am trying to split that into a list of multiple strings:
strings = ['abc', 'efg', 'hijklmn', 'aaaaa']
how do I go about doing this? seems very trivial
i have a list
strings = ['abc efg hijklmn aaaaa']
and I am trying to split that into a list of multiple strings:
strings = ['abc', 'efg', 'hijklmn', 'aaaaa']
how do I go about doing this? seems very trivial
 
    
    strings = ['abc efg hijklmn aaaaa']
strings = strings[0].split()
 
    
    This will work even if there are more strings in the original list.
strings = ['abc efg hijklmn aaaaa', 'abc efg hijklmn aaaaa']
print [item for current in strings for item in current.split()]
 
    
    otherlist = []
for thing in strings:
    otherlist.extend(thing.split(" "))
strings = otherlist
