How do I check if all elements in a list are the same?,all(x == mylist[0] for x in mylist)