Guest User

Untitled

a guest
Jun 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. pituus = len(word)
  2. i = previous_hyphen_at
  3. i = 0
  4.  
  5. while i < pituus:
  6. letter = word[i]
  7. if is_finnish_vowel(self, letter):
  8. if get_next_consonant(self, word, i):
  9. if get_next_vowel(self, word, i):
  10. return i
  11. else:
  12. return 'NOT_APPLICABLE'
  13.  
  14.  
  15. i += 1
Add Comment
Please, Sign In to add comment