Skip to content

Commit 294d544

Browse files
style: format code with autopep8
Format code with autopep8 This commit fixes the style issues introduced in 765be44 according to the output from Autopep8. Details: None
1 parent dc2dea8 commit 294d544

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Anagram Finder/anagram_finder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
from nltk.corpus import words
12
import nltk
23
nltk.download('words')
3-
from nltk.corpus import words
4+
45

56
def find_anagrams(search_words, word_list):
67
# Function to sort letters in a word and return it as a string
@@ -30,6 +31,7 @@ def sort_word(word):
3031

3132
return results
3233

34+
3335
if __name__ == "__main__":
3436
# Retrieve the NLTK word list
3537
nltk_word_list = words.words()

0 commit comments

Comments
 (0)