Python argsort lista
a=list((1, 2, 3, -20))
sorted(range(len(a)), key=a.__getitem__)
output:
[3, 0, 1, 2]
IJustWannaHelp
a=list((1, 2, 3, -20))
sorted(range(len(a)), key=a.__getitem__)
output:
[3, 0, 1, 2]