For example if have the list [[['a', 'b', 'c'], ['d']],[['e'], ['f'], ['g']]]
the function should print out 'a' 'b' 'c'
...ect. on separate lines.It needs to be able to do this for any variation in the list.
my_list = [[['a', 'b', 'c'], ['d']],[[[['e', ['f']]]]], ['g']]
def input1(my_list):
for i in range(0, len(my_list)):
my_list2 = my_list[i]
for i in range(0, len(my_list2)):
print(my_list2[i])
My code doesnt seem to work, I know I am missing alot of whats needed for the neccesary function. Any suggestions would be very helpful