@@ -0,0 +1,627 @@
+words = 'hello yyyyyyy yzyzyzyzyzyz mellow well yo kellow lellow abcdefhijkl hi is yellow just here to add strings fellow lellow llleow'.split(' ')%0Aletters = 'l e l o h m f y z a b w'.split(' ')%0Amatches = %5B%5D%0A%0Afor word in words:%0A%09letters_copy = list(letters)%0A%09success = True%0A%09for letter in word:%0A%09%09success = letter in letters_copy%0A%09%09if not success:%0A%09%09%09break%0A%09%09del letters_copy%5Bletters_copy.index(letter)%5D%0A%09if success:%0A%09%09matches.append(word)%0A%0Aif matches == %5B%5D:%0A%09print('No Words Found')%0Aelse:%0A%09matches.sort(key=len, reverse=True)%0A%09matches = %5Bmatch for match in matches if len(match) == len(matches%5B0%5D)%5D%0A%09print('%5Cn'.join(matches))%0A

Create Intermediate.py