Question
in Python repeatingVowels write a program that asks user to enter a word (any sequence of characters) 1. put your program in file repeatingVowels.py
in Python
repeatingVowels write a program that asks user to enter a word (any sequence of characters) \
1. put your program in file repeatingVowels.py
2. if no vowel appears next to itself (e.g. hello), then print: no vowel repeats
3. 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
4. if more than one vowel repeats (e.g. green door) then print: more than one vowel repeats
5. ignore upper case - lower case differences: assume all the input is always lowercase.
Examples % python3 repeatingVowels.py enter word: python no vowel repeats
% python3 repeatingVowels.py enter word: one python two python no vowel repeats
% python3 repeatingVowels.py enter word: door only vowel o repeats
% python3 repeatingVowels.py enter word: the door is open only vowel o repeats
% python3 repeatingVowels.py enter word: I see a deer and a door more than one vowel repeats
% python3 repeatingVowels.py enter word: I like to see python only vowel e 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