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

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!