next(x[0] for x in enumerate(L) if x[1] > 0.7)
More Related Contents:
- Shuffling a list of objects
- Pandas column of lists, create a row for each list element
- Why can’t I use a list as a dict key in python?
- What do ellipsis […] mean in a list?
- How can I get list of values from dict?
- Converting a string representation of a list into an actual list object [duplicate]
- Apply function to each element of a list
- Python list rotation [duplicate]
- List on python appending always the same value [duplicate]
- Python assigning multiple variables to same value? list behavior
- Convert NumPy array to Python list
- why sum on lists is (sometimes) faster than itertools.chain?
- Splitting list based on missing numbers in a sequence
- Using an index to get an item
- Some built-in to pad a list in python
- Remove duplicates and original from list
- Sort a list of lists with a custom compare function
- Python – sum values in dictionary
- Sliding window maximum in O(n) time
- Convert list into a pandas dataframe
- Why does list ask about __len__?
- How to assign each element of a list to a separate variable? [duplicate]
- Why do these list methods (append, sort, extend, remove, clear, reverse) return None rather than the resulting list?
- Sorting list according to corresponding values from a parallel list [duplicate]
- Appending to list in Python dictionary [duplicate]
- Does Python have an immutable list?
- Swap values in a tuple/list inside a list in python?
- What is the cost/ complexity of insert in list at some location?
- Nested lambda statements when sorting lists
- Check list monotonicity