Replace Functions In Python Programming