Advertisement
Faiakes

Strings

Jun 16th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. verse_1 = verse.replace('wheels', 'horn')
  2. verse_2 = verse_1.lower().replace('round and round', 'beep, beep, beep'); print(verse_2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement