What would be the most Pythonic way to find the first index in a list that is greater than x?
For example, with
list = [0.5, 0.3, 0.9, 0.8] >
list = [0.5, 0.3, 0.9, 0.8]
filter(lambda x: x>.7, seq)[0]