Vowels

Mon 21 July 2025
# created :20250629
https://share.google/camtfs4z8aiYAJNSz
vowels = 'aeiou'
ip_str = 'Hello, have you tried our tutorial section yet?'
ip_str = ip_str.casefold()
count = {}.fromkeys(vowels,0)
for char in ip_str:
   if char in count:
       count[char] += 1
print(count)

Score: 5

Category: basics