Explain User Defined Function Python