What goes in the blank?
# count the vowels in a word n = sum(1 for ch in word if ch ____ 'aeiou')
Answer: in
in tests membership, so each character found in the vowel string adds one.# count the vowels in a word n = sum(1 for ch in word if ch ____ 'aeiou')
Answer: in
in tests membership, so each character found in the vowel string adds one.