Created
July 1, 2020 01:40
-
-
Save dsonbill/41ef75817b65c42af77e6fe880572c76 to your computer and use it in GitHub Desktop.
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
# OWO TWANSLATOW v 0.1 | |
def translate(phrase): | |
translation = ' ' | |
for letter in phrase: | |
if letter in 'RrLl': | |
translation += 'w' | |
else: | |
translation += letter | |
return translation | |
print(translate(input('Translate me: '))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment