Create User Defined Function In Python