I have a loop which generates a value_list each time it runs. At the end of each iteration I want to append all the lists into a one multi dimensional array
I have:
value_list = [apple,banana,cherry,jackfruit] in 1st iteration
value_list = [cake,cookie,biscuits] in 2nd iteration
value list = [bat,cat,swan,crow,dog] in 3rd iteration and so on...
At the end of each iteration I want a one multi dimensional array like
value_list_copy = [[apple,banana,cherry,jackfruit]] in the 1st iteration
value_list_copy = [[apple,banana,cherry,jackfruit],[cake,cookie,biscuits]] in the 2nd iteration
value_list_copy = [[apple,banana,cherry,jackfruit],[cake,cookie,biscuits],[bat,cat,swan,crow,dog]] and so on...
Please help me with the code