iterate through an irregular nested list in Python

2020-03-07 Thread sinndhhu
Hi All, I am new to python. I have a irregular nested lists in a list. Please help me to iterate through each element. Thanks much in advance. Sample Ex aList = [[2,'jkj'],[],[],['kite',88,'ooo','pop','push','pull'],['hello']] expected output: 2,jkj,,,kite,88,ooo,pop,push,pull,hello -- https:

iterate through an irregular nested list in Python

2020-03-06 Thread sinndhhu
Hi All, I am new to python. I have a irregular nested lists in a list. Please help me to iterate through each element. Thanks much in advance. Sample Ex aList = [[2,'jkj'],[],[],['kite',88,'ooo','pop','push','pull'],['hello']] expected output: 2,jkj,,,kite,88,ooo,pop,push,pull,hello -- https:

iterate through an irregular nested list in Python

2020-03-06 Thread sinndhhu
Hi All, I am new to python. I have a irregular nested lists in a list. Please help me to iterate through each element. Thanks much in advance. Sample Ex aList = [[2,'jkj'],[],[],['kite',88,'ooo','pop','push','pull'],['hello']] expected output: 2,jkj,,,kite,88,ooo,pop,push,pull,hello -- https:

iterate through an irregular nested list in Python

2020-03-06 Thread sinndhhu
Hi All, I am new to python. I have a irregular nested lists in a list. Please help me to iterate through each element. Thanks much in advance. Sample Ex aList = [[2,'jkj'],[],[],['kite',88,'ooo','pop','push','pull'],['hello']] expected output: 2,jkj,,,kite,88,ooo,pop,push,pull,hello -- https