Skip to content

Instantly share code, notes, and snippets.

@AbbadonAA
Created September 26, 2021 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbbadonAA/a2b959deda61181c0c4c2c0a5a870495 to your computer and use it in GitHub Desktop.
Save AbbadonAA/a2b959deda61181c0c4c2c0a5a870495 to your computer and use it in GitHub Desktop.
Finds symbols ('WUB' in case) in text and replaces it with spaces
def song_decoder(song):
return ' '.join(song.replace('WUB', ' ').split())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment