Question: As an USER INPUT! FUNCTIONS aren't allowed, meaning can't use DEF! In Python Please! In this assignment we will make use of the String object

As an USER INPUT!
FUNCTIONS aren't allowed, meaning can't use DEF!
In Python Please!  As an USER INPUT! FUNCTIONS aren't allowed, meaning can't use DEF!

In this assignment we will make use of the String object and collections such as Dictionaries and Sets. The goal of this assignment is to remove any vowel from a phrase entered by the user. If any consonants are doubled after removing the vowels, then one of the double consonant will be removed. The output will be the modified phrase as well as a count of each vowel removed. For Example if the phrase was: - Marry had a Little Lamb. After removing the vowel: - Mrr hd ltti Imb After removing the double consonants - Mr ha ltil Imb A 4 - E1 11 - Y1 Note: Y will be vowel for this assignment

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!