Skip to content

Instantly share code, notes, and snippets.

@p-warner
Created May 1, 2015 16:19
Show Gist options
  • Save p-warner/4aa371f201e1aa9802bc to your computer and use it in GitHub Desktop.
Save p-warner/4aa371f201e1aa9802bc to your computer and use it in GitHub Desktop.
def main():
(string, result) = (input(), '')
doubleMe = list('bcdfghjklmnpqrstvwxzBCDFGHJKLMNPQRSTVWXZ')
for char in string:
try:
doubleMe.index(char)
result += char + 'o' +char.lower()
except Exception:
result += char
print(result)
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment