Created by manuel-2de-indice2019
Created on October 14, 2019
138 Bytes
def prem(n): c=0 for i in range(1,n+1): r=n%i if r==0: c=c+1 return(c==2)