Python Program For Mathematical Functions Definition