def count_vowels(input_string):
input_string = input_string.lower()
vowels = "aeiou"
vowel_count = 0
for letter in input_string:
if letter in vowels:
vowel_count += 1
return vowel_count
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
def count_vowels(input_string):
input_string = input_string.lower()
vowels = "aeiou"
vowel_count = 0
for letter in input_string:
if letter in vowels:
vowel_count += 1
return vowel_count