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