Replace Functions In Python W3schools