I have a list, List = [ 'A', 'B', 'C']
I want to return this List and print the items without ' '
def returnTheList():
List = [ ]
#dosomething here
.....
return List
print returnTheList
My output is
['A','B','C']
I would like something like this as the output in my main.py
A
B
C
EDIT: I do not want to print in the function itself, rather in my main function. This list will be returned by the function and the caller gets a non-braces items.