about | help | code help+videos | done | prefs |
num_vowels
Write a function that counts the number of vowels in a given string. For this purpose, vowels are 'a', 'e', 'i', 'o', and 'u'. num_vowels('hello') → 2 num_vowels('goodbye') → 3 num_vowels('iconic') → 3 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy