Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Bird Language by kurosawa4434
from re import sub
VOWELS = "aeiouy"
def translation(phrase):
phrase = sub(r'([aeiouy])\1{2}', r'\1', phrase)
phrase = sub('([^aeiouy ])[aeiouy]', r'\1', phrase)
return phrase
July 24, 2016
Comments: