sort the list by the first element, then loop over it and check what the first element in each sub-list is. if it is different from the [first] one in the previous sub-list - add new element in the result list and start populating it
list of list to list of tuple?
list of list to list of tuple?
|
|
Messages In This Thread |
list of list to list of tuple? - by student8 - Nov-14-2017, 02:38 AM
Help with tuples - by student8 - Nov-14-2017, 05:29 AM
RE: Help with tuples - by buran - Nov-14-2017, 08:06 AM
|
Users browsing this thread: 1 Guest(s)