open_in_new content_copy
print(sorted(L).index(L[k-1]+1+0,end="")
open_in_new MORE content_copy COPY

@tusharsd at thiscodeWorks.com