3 ms·return (len(set(l)) == 1)by gms 17y agoreturn (len(set(l)) == 1)yan 17y agoI'd pick this solution.