Replace Functions In Python Practice