j
k
j a
j l
Hi
I have a list ...main [(1,2,3),(4,5,6),(3,4,5)] and i want all Elements at the 1. Pos. in new List: ...[1,4,3]
I have a list
main [(1,2,3),(4,5,6),(3,4,5)]
and i want all Elements at the 1. Pos. in new List:
[1,4,3]
You might want to take a look at list comprehensions, they fit very nicely for this sort of problem. Thanks Neil
Back to the thread
Back to the list