Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple skip solution in Clear category for Bird Language by V.Shkaberda
VOWELS = "aeiouy "
def translation(phrase):
letters = iter(phrase)
real_phrase = []
for letter in letters:
real_phrase.append(letter)
if letter.isalpha(): # letter?
next(letters) # skip one
if letter in VOWELS: # vowel?
next(letters) # skip two
return ''.join(real_phrase)
March 2, 2019
Comments: