vowels = 'aeiou' def count_vowels(str):
# complete function here...
print(count_vowels('hello world')) # expected output: 3 print(count_vowels('python')) # expected output: 1
Python
Setting up Python environment...
Output
vowels = 'aeiou' def count_vowels(str):
# complete function here...
print(count_vowels('hello world')) # expected output: 3 print(count_vowels('python')) # expected output: 1
Setting up Python environment...