Agorithm/백준 알고리즘
백준 알고리즘 10203번 Count Vowels(python)
kimjinho1
2021. 3. 1. 11:55
728x90
반응형
단순 문자열 문제이다.
for _ in range(int(input())):
s = input().rstrip()
cnt = 0
for c in s:
if c in "aeiou":
cnt += 1
print(f"The number of vowels in {s} is {cnt}.")
728x90
반응형