Python Program For Perfect Number Using Functions