replace() oefenen

Sign in to test your solution.
tekst = "Humpty Dumpty zat op de muur" print(tekst.replace("zat op", "viel van")) print(tekst)