Question: PLEASE CODE USING PYTHON 3! (PLEASE HELP ASAP) : Be sure to write clear comments throughout when coding this. I'm not sure but It may
PLEASE CODE USING PYTHON 3! (PLEASE HELP ASAP) :
Be sure to write clear comments throughout when coding this. I'm not sure but It may involve using tuples, sets, dictionaries, lists, list comprehensions. Use those if possible. Make sure it isn't too advanced either; something that a person that's taking an intro to python course could do. Make it as simple as possible basically. Just use your better judgment please and thank you! I have linked all the files below that you will need. Thanks!
...

Link to files: https://drive.google.com/drive/folders/1W3UgGZfdiiTj3i7dGSUWjynOr76KY900?usp=sharing?
3) Interlace TASK Write a program that looks through the dictionary for words like 'throaty' that can be decomposed into two legal words by taking every other letter. The even letters in 'throaty' give 'tray, while the odd letters give 'hot. Hint - It is faster to try decomposing words than it is to try shuffling pairs of words together. Your program should take the name of a file with a list of legal words on the command line. This will let us try your creation on smaller word lists. Print the number of triples you find, and show us the first 10. Here are some of the triples that my program finds. % python interlace.py words.txt aahs ah as abbey aby be yeas ya es yuan ya un There are over 1200 such pairs in words.txt. If you use Downey's words list and store it in a Python dictionary your program should be able to find allthe triples in well under a second
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
