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 dictionary (text file) that contain any consecutive 3-letter sequence in your firstname+lastname (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

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

Why was the PSA Standard Default curve introduced? AppendixLO1

Answered: 1 week ago