Created
September 26, 2021 00:11
-
-
Save AbbadonAA/a2b959deda61181c0c4c2c0a5a870495 to your computer and use it in GitHub Desktop.
Finds symbols ('WUB' in case) in text and replaces it with spaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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