Skip to content

Commit 6b53a4c

Browse files
gabrielsimasLuís Gabriel Nascimento Simas
andauthored
Make README.md (#2)
Co-authored-by: Luís Gabriel Nascimento Simas <luis.gabriel_thera@prestador.globo>
1 parent 1714875 commit 6b53a4c

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
1-
# find-most-frequent-word-in-python-list
2-
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.
1+
# Find the Most Frequent Word in a Python List
2+
3+
## Project Level 2: Intermediate
4+
5+
This project is designed for intermediate learners who know Python fundamentals and are practicing building complete programs.
6+
7+
## Project Description
8+
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:
9+
10+
```
11+
words = ["love", "peace", "joy", "love", "happiness", "love", "joy"]
12+
```
13+
14+
## Expected Output
15+
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.
16+
17+
## Learning Benefits
18+
- **List Processing:** Work with lists containing text data.
19+
20+
- **Using Collections (Optional):** Learn how the Counter class simplifies frequency counting.
21+
22+
- **Efficient Lookups:** Extract the most common element in a single step.
23+
24+
## Prerequisites
25+
**Required Libraries:** No libraries are needed for this project.
26+
**Required Files:** No files are needed for this project.
27+
**IDE:** You can use any IDE on your computer to code the project.

0 commit comments

Comments
 (0)