remove all elements of a set that contain a specific char,[x for x in primes if '0' not in str(x)]