diff --git a/README.md b/README.md index 0dfcdde..bdda508 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,27 @@ -# find-most-frequent-word-in-python-list -Write a program that takes a list of words and finds the most frequently occurring one. This project is designed for intermediate learners who know Python fundamentals and are practicing building complete programs. +# Find the Most Frequent Word in a Python List + +## Project Level 2: Intermediate + +This project is designed for intermediate learners who know Python fundamentals and are practicing building complete programs. + +## Project Description +Write a program that takes a list of words and finds the most frequently occurring one. Start by writing this list in the first line of your program: + +``` +words = ["love", "peace", "joy", "love", "happiness", "love", "joy"] +``` + +## Expected Output +Your program should find the most frequent word and print out a message similar to the following where the most frequent word (i.e., “love“) is is mentioned. + +## Learning Benefits +- **List Processing:** Work with lists containing text data. + +- **Using Collections (Optional):** Learn how the Counter class simplifies frequency counting. + +- **Efficient Lookups:** Extract the most common element in a single step. + +## Prerequisites +**Required Libraries:** No libraries are needed for this project. +**Required Files:** No files are needed for this project. +**IDE:** You can use any IDE on your computer to code the project. \ No newline at end of file