i am getting list using below code. i am new to python and cant figure out how to combine 18 list into one. I am getting data from api so it only shows 50 results at one time.
list_2 = ([sub['Function'] for sub in resources])
print(list_2)
Print Results
[a,b,c.....ds] --50 items in list
[bc,kj,sd,...mp] --50 items in list
[fj,lk,ld,...dh] --50 items in list and so on i get upto 18 list when i print list 2
how can i combine list_2
.
so i can get all one list with 900 items rather than 18 list of 50 items each