Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need Help with Python Script Please! Place a text file called words.txt that contains all of the words in the English dictionary in the same

Need Help with Python Script Please!

Place a text file called words.txt that contains all of the words in the English dictionary in the same folder as the Python Script. I have the file but it is too big to copy/paste, and chegg won't let me post a link to github where the file is located.

You will then need to create a script that counts how many words are in the text file that contain any consecutive 3-letter sequence in your firstname+lastname that are entered by the user. (For me, any word containing one of jas, aso, son, onl, nle, lew, ewi, and wis; the consecutive 3-letter sequences of jasonlewis) - the result should be an integer. Do it in less than 3 lines to impress me ;)

You are to ask the user for their full name (no spaces) and save that in the variable (those lines don't count towards the 3 line count).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

13. You always should try to make a good first impression.

Answered: 1 week ago