Question: Write a function called count_vowels(s) that takes in a string s as an argument and returns the number of vowels in the string. Use a
Write a function called count_vowels(s) that takes in a string s as an argument and returns the number of vowels in the string. Use a for loop and an if statement to check if each character in the string is a vowel.
Please use Pyhton.
Please add comments so I can understant. Thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
