Hi new to python and programming in general I'm trying to find an element in an array based on user input here's what i've done
a =[31,41,59,26,41,58]
input = input("Enter number : ")
for i in range(1,len(a),1) :
if input == a[i] :
print(i)
problem is that it doesn't print out anything. what am I doing wrong here?