Program On User Defined Function Python