I\'d like to compare multiple objects and return True only if all objects are not equal among themselves. I tried using the code below, but it doesn\'t work. If
True
from itertools import combinations all(x != y for x, y in combinations(objs, 2))