Most pythonic way to check if an item is not a list then make it into a list?
74483
Correct way to detect sequence parameter?
14293
Best way to find if an item is in a JavaScript array?
98304
Convert lists into 'transposed' list
84676
How do I check that multiple keys are in a dict in a single pass?
14704
How to detect if a variable is an array
143206
How to check if all list items have the same value and return it, or return an “otherValue” if they don’t?
124280
Test if array is inside a list in lisp
125979
How to flatten a list to a list without coercion?
118108
Check if a Python list item contains a string inside another string
37773
How do I detect whether a Python variable is a function?
96588
How to take the first N items from a generator or list?
95287
Generating a list of numbers that are not multiples of 4
145743
Converting NumPy array into Python List structure?
7669
Map a function across a list conditionally
45504
Best way to select a subset of items in a long list
115314
How do you efficiently return all of a List but one element?
123813
A better way to do nested lists