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