about | help | code help+videos | done | prefs |
Write a function vowels(word) that uses the count method to return the number of vowels in the string word. Note that word may contain upper and lower case letters. You should not count Y as a vowel. vowels('shorty') → 1 vowels('LONGER') → 2 vowels('a string with spaces AND $') → 6 ...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