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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!