Top "Nested-lists" questions

This tag refers to a structure in which two or more lists are placed in a "nested" form (i.e. one list is contained within another).

Django URLs - How to pass a list of items via clean URLs?

I need to implement a structure similar to this: example.com/folder1/folder2/folder3/../view (there can be other things …

django url django-urls nested-lists
Python: Removing a single element from a nested list

I'm having trouble figuring out how to remove something from within a nested list. For example, how would I remove …

python nested-lists del
How to create a list of lists in scheme?

I may have missed this in the R5RS document but how do I create a list of lists in (…

scheme nested-lists chicken-scheme
Python - sort a list of nested lists

I have input consisting of a list of nested lists like this: l = [[[[[39]]]], [1, 2, 3], [4, [5, 3], 1], [[[[8, 9], 10], 11], 12]] I want to sort this list based …

python list sorting nested-lists
How does the min/max function on a nested list work?

Lets say, there is a nested list, like: my_list = [[1, 2, 21], [1, 3], [1, 2]] When the function min() is called on this: min(my_…

python list python-2.7 python-2.x nested-lists
Create (nested) List from two Lists in Python

Hello I would like to create an Array from two Arrays but I do not want to create this new …

python python-2.7 list nested-lists
Maximum value from a list of lists and its index

li = [[1,2], [2,3], [7,6]] How can I find the max value and its index efficiently? Suppose for li I want: max_value = 7 max_…

python list python-2.7 nested-lists