Skip to content

Files

Latest commit

f0a0bd4 · Oct 16, 2021

History

History

FindLongestWord

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 16, 2021
Oct 16, 2021
Oct 16, 2021

Find Longest Word

This Python script will find the longest words inside a txt file.
One sample file is provided inside the files directory. The sample file is called words.txt and lists over 100000 english words.

You can place your .txt file inside that directory in order to find the longest word in it. You will just have to use the name of the newly added file (including the .txt extension) as an input after running the script.