How could I make the return command in Python return a list AS a list, and not as a 'programmer' list? For example,
for line in list:
But for some reason it only returns the first element in the list, for example:
myList = ['1','2','a','b']
for line in myList:
And that's all I get. Any form of help is appreciated!
9 Months Ago
Related Article:List in a list while translating items
is a solved Python discussion thread by krimgo that has 2 replies, was last updated 1 month ago and has been tagged with the keywords: list, append, parsing.