allunique

Run Settings
LanguagePython
Language Version
Run Command
def all_unique(lst): return len(lst) == len(set(lst)) x = [1,1,2,2,3,2,3,4,5,6] y = [1,2,3,4,5] testx = all_unique(x) # False testy = all_unique(y) # True print(testx, testy) #https://towardsdatascience.com/30-helpful-python-snippets-that-you-can-learn-in-30-seconds-or-less-69bb49204172
Editor Settings
Theme
Key bindings
Full width
Lines