Question
PYTHON 1. write a program that asks user to enter a word (any sequence of characters) 2. put your program in file repeatingVowels.py 3. if
PYTHON
1. write a program that asks user to enter a word (any sequence of characters)
2. put your program in file repeatingVowels.py
3. if no vowel appears next to itself (e.g. hello), then print: no vowel repeats
4. if exactly one vowel is repeated in sequence at least once (e.g. committee) then print a message that indicates which vowel repeats: only vowel e repeats
5. if more than one vowel repeats (e.g. green door) then print: more than one vowel repeats
6. ignore upper case - lower case differences: assume all the input is always lowercase
EXAMPLE:
enter word: python no vowel repeats
Example:
enter word: door only vowel o repeats
Example:
enter word: I see a deer and a door more than one vowel repeats
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started