$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #278

What goes in the blank?

# count the vowels in a word
n = sum(1 for ch in word if ch ____ 'aeiou')

Answer: in (also accepted: in)

in tests membership, so each character found in the vowel string adds one.
Play Problem Solving ▸