Question: The answer is required in PYTHON: Assume s is a string of lower case characters. Write a program that counts up the number of vowels
The answer is required in PYTHON:
Assume s is a string of lower case characters. Write a program that counts up the number of vowels and their position in the string s. Valid vowels are: a, e, i, o and u. FOr example, if s = 'azcbobobegghakl', your program should print:
a - 0 12
e - 8
o - 4 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
