Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Bird Language by PawelBubak
def translation(phrase):
vovels = "aeiouy"
y = phrase.split()
list = []
for i in y:
l = []
for j in i:
l.append(j)
list.append(l)
result = []
for i in list:
k = 0
while k < len(i):
if i[k] in vovels:
result.append(i[k])
k = k + 3
else:
result.append(i[k])
k = k + 2
result.append(' ')
result= result[:len(result)-1]
wynik = ''.join(result)
return wynik
Nov. 27, 2016