Creating User Defined Function In Python