I need a function which takes in a list and outputs True if all elements in the input list evaluate as equal to each other using the standard equal
list
True
Can use map and lambda
lst = [1,1,1,1,1,1,1,1,1] print all(map(lambda x: x == lst[0], lst[1:]))