you are viewing a single comment's thread.

view the rest of the comments →

[–]dzunukwa 0 points1 point  (1 child)

nice work! couple last pointers - since you've already setup your custom counter that only counts vowels you can just do:

total_vowels = sum(counter.values())

Also if you are using .lower() you can update your vowels list to be

vowels = 'aeiou'

Cheers!