operation that returns true if all values are equal

Solutions on MaxInterview for operation that returns true if all values are equal by the best coders in the world

showing results for - "operation that returns true if all values are equal"
Nohan
10 Feb 2017
1def all_equal2(iterator):
2    return len(set(iterator)) <= 1
similar questions