Re: Converting list of tuple to list

2018-03-29 Thread Tim Chase
On 2018-03-29 20:42, Ganesh Pal wrote: > I have a list of tuple say [(1, 2, 1412734464L, 280), (2, 5, > 1582956032L, 351), (3, 4, 969216L, 425)] . I need to convert the > above as ['1,2,1412734464:280', > '2,5,1582956032:351', '3,4,969216:425'] > > Here is my Solution , Any suggestion or optim

Re: Converting list of tuple to list

2018-03-29 Thread Rustom Mody
On Thursday, March 29, 2018 at 8:42:39 PM UTC+5:30, Ganesh Pal wrote: > Hello Team, > > > > I have a list of tuple say [(1, 2, 1412734464L, 280), (2, 5, 1582956032L, > 351), (3, 4, 969216L, 425)] . I need to convert the above as > ['1,2,1412734464:280', > '2,5,1582956032:351', '3,4,969216:425

Converting list of tuple to list

2018-03-29 Thread Ganesh Pal
Hello Team, I have a list of tuple say [(1, 2, 1412734464L, 280), (2, 5, 1582956032L, 351), (3, 4, 969216L, 425)] . I need to convert the above as ['1,2,1412734464:280', '2,5,1582956032:351', '3,4,969216:425'] Here is my Solution , Any suggestion or optimizations are welcome . Solution