Question
For this question: Download the list of words here: https://tigerweb.towson.edu/aconover/small_dictionary.txt Write a single Perl or Python program to count and display the number of occurrences
For this question: Download the list of words here: https://tigerweb.towson.edu/aconover/small_dictionary.txt
Write a single Perl or Python program to count and display the number of occurrences of words which contain 4 consecutive vowels. (Vowels include a,e,i,o,u,y). The input should be readable from a "input pipe" (as in <cat or type> somefile.txt | <perl or python>program_name). Note that the input just has one word on each line:
Fake Example input:
abcdef aeiou zaeyiax abecixoxu |
(The bolded letters are shown here only for illustration.)
Example Output:
aeiou zaeyiax Found 2 matches
|
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