I know the title is a bit confusing but I couldn't think of a better way of describing it. This is python code.
Say I have a list a=["blue","yellow", "red", "green"]
. How would I split it so it looks like this: a=[["blue","yellow"],["red","green"]]
?