Hello friends,
I am recently started learning python language. Can any one tell me is there any way in python to find the first index in a list that is greater than x?
For example, with
list = [5, 3, 9, 8]
the function
f(list, 7)
would give output= 2. It means third one is greater in list. Please help me.
Bookmarks