5 lines
131 B
Python
5 lines
131 B
Python
def find_modified_max_argmax(L, f):
|
|
L = [f(x) for x in L if type(x) == int]
|
|
|
|
return (max(L), L.index(max(L))) if L else ()
|