Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
recursion with lambda (python way =) solution in Clear category for Bird Language by kdim
VOWELS = "aeiouy"
def translation(phrase):
tran = lambda x: x[0] + tran(x[2 + (x[0] in VOWELS):]) if x else '' # recursion with lambda (translate word)
return ' '.join([tran(i) for i in phrase.split()]) # joining string
Jan. 27, 2021
Comments: