Error while finding the max element position in the list in python language?(value error) : <p><strong><em>ValueError: max() arg is an empty sequence</em></strong>
why am i getting the above error by this code
n=l.index(max(l))
need to find the position of the max element in the list.
l is the list of the elements</p>
