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