Write a function that takes a string s and returns the count of vowels (a, e, i, o, u) in it. The function should handle both uppercase and lowercase vowels.
Constraints
The input string s can be empty.
The length of s will not exceed 1000 characters.
Function Signature
defcount_vowels(s):
Interviewer
Your question is Count Vowels in a String. Start with the requirements in the Question tab.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.