How To Do User Defined Functions In Python