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:
return (line)
But for some reason it only returns the first element in the list, for example:
myList = ['1','2','a','b']
for line in myList:
return (line)
>>>
1
>>>
And that's all I get. Any form of help is appreciated!