Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursive solution in Clear category for Bird Language by skipla
VOWELS = "aeiouy"
def translation(phrase):
if not phrase:
return ""
ch = phrase[0]
if ch in VOWELS:
return ch + translate(phrase[3:])
if ch.isalpha():
return ch + translate(phrase[2:])
return ch + translate(phrase[1:])
May 14, 2015
Comments: