Replace Last Element Of String Python W3schools