How To Create A User Defined Function In Python