Question: please be as simple as possible while also using booleans. thanks! 1.1* The string method count returns the number of occurfences of a string in
1.1* The string method count returns the number of occurfences of a string in another string. For example, shortText. count ('is') would return 2. 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 lowercase letters.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
