I have a list of numbers and I want to find the var with the highest value but I don't want to use max() because I want the program to return the variables name with the highest value, not the value. Example code:
var1=0
var2=1
var3=2
list[var1,var2,var3]