Ok so I am having a problem whereby I need to make another list from a list I have already split. Here is the code.
def lists():
instructionList = instructions()
Lists = instructionList.split('\n')
Instructions = []
for values1 in Lists:
Instructions = Instructions + [values1.split(",")]
for values2 in Instructions:
newLists = []
newLists = newLists + [values2.split(" ")]
print Instructions [3]
When I create the Instructions list it works, but when I try this further to create newLists it gives me this error=> The error was:'list' object has no attribute 'split' Attribute not found. You are trying to access a part of the object that doesn't exist.
I need to keep breaking the same list down. Also I am very new to this so please explain things carefully to me.