Encontrando os números primos menores que 50
[len(x) for x in
list(map(lambda x: [operator.mod(len(range(1,x)), z) for z in range(1,x)], [item for item in range(2,50)]))
if x.count(0) == 2]
[len(x) for x in
list(map(lambda x: [operator.mod(len(range(1,x)), z) for z in range(1,x)], [item for item in range(2,50)]))
if x.count(0) == 2]