Get unique values in List of Lists August 5, 2023 by Tarik array = [['a','b'], ['a', 'b','c'], ['a']] result = {x for l in array for x in l}