Snapsolve any problem by taking a picture.
Try it in the Numerade app?
This is word.txt example: Aarhus Aaron Ababa aback abaft abandon abandoned abandoning abandonment abandons abase abased abasement abasements abases abash abashed abashes abashing abasing abate abated abatement abatements abater abates abating Abba abbe abbey abbeys Please help me solve questions 4 to 7 and use a Python program. Thank you. 1 Regex Dictionary For this section, I want you to answer questions about the dictionary file words.txt. If you're using a Unix system, feel free to use the dictionary file included on your computer. Some words begin with capital letters! Please include each regex with your answer. 1. I like animals. How many words contain the word 'cat' or 'dog' in them? 2. Four-letter words are supposedly naughty. How many four-letter words are there? 3. Do more words end in "ing" or "ion"? 4. How many words contain a "q" not immediately followed by a "u"? 5. How many words have no vowels? 6. How many words with two vowels in a row are there? 7. How many words with at least two vowels are there? The vowels need not be adjacent, like in the previous problem. If you are having trouble, please see this link. 1
Submitted by Chad N. Feb. 14, 2023 03:34 p.m.
EXPERT VERIFIED
NO COMMENTS YET