Advertisement
Guest User

verse

a guest
Jul 22nd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. verse = """
  2. The wheels on the bus go round and round,
  3. Round and round, round and round,
  4. The wheels on the bus go round and round,
  5. All day long.
  6. """
  7. new_1 = verse.replace('wheels', "horns")
  8. new_2 = new_1.replace('round and round', "beep, beep, beep")
  9. new_3 = new_2.replace('Round and round', "Beep, beep, beep")
  10. print(new_3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement