Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Bird Language by magda_kudrycka
VOWELS = "aeiouy"
def translation(phrase):
a = 0
dlugosc = len(phrase)
phrs = ''
while (a < dlugosc):
if (phrase[a] in VOWELS):
phrs += phrase[a]
a += 2
elif (phrase[a] not in VOWELS and phrase[a] != " "):
phrs += phrase[a]
a += 1
elif phrase[a] == " ":
phrs += phrase[a]
a += 1
return phrs
Nov. 26, 2016