SyntaxFix
Write A Post
Hire A Developer
Questions
for a in someList: list.append(splitColon.split(a))
You can rewrite the above as:
newlist = [splitColon.split(a) for a in someList]