Skip to content

Instantly share code, notes, and snippets.

@dsonbill
Created July 1, 2020 01:40
Show Gist options
  • Save dsonbill/41ef75817b65c42af77e6fe880572c76 to your computer and use it in GitHub Desktop.
Save dsonbill/41ef75817b65c42af77e6fe880572c76 to your computer and use it in GitHub Desktop.
# 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