How can I find out if there is even, or odd, number of elements in an arbitrary list.
I tried list.index() to get all of the indices... but I still don\'t k
list.index()
if len(mylist)%2==0: #even else: #odd