Question: What went wrong with my python on this assignment? My code: The Problem: Thanks! Really appreciate it. filenameinput(Enter the name of the file containing all
What went wrong with my python on this assignment?
My code:

The Problem:




Thanks! Really appreciate it.
filenameinput("Enter the name of the file containing all of the words: ") 1 2 f open(filename, "r") 4 all words = set () for word in f. readlines) all words.add(word.strip()) letters input ("Please enter your letters separated by a space: "). split() wordset = permutation (letters) print (letters) 10 12 13 14 15 for word in wordset : if word in all_words: print(word)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
