Jan-21-2019, 01:04 AM
Loop over the contents of helloDictCont, split each item, and extend liDict instead of appending.
liDict = [] for words in helloDictCont: liDict.extend(words.split())