← Back to List

10203번: Count Vowels ↗

Solutions

Python 3
125 B | 125 chars
for i in range(int(input())):
  s = input()
  print(f'The number of vowels in {s} is {sum([s.count(c) for c in "aeiou"])}.')