SELECT PROJECT
๐ Project 1: Real-time Data App
PROJECT GOAL (เคเฅเคฏเคพ เคฌเคจเคพเคจเคพ เคนเฅ)
Create a Simple Word Counter Program in Python that takes a list of text strings to analyze
their word patterns dynamically.
Requirements
1. Inside the Program, use standard string methods to clean and split the text sentences correctly.
2. The Program will accept a list (text_list) containing multiple text strings or paragraphs to evaluate.
3. Run a for loop to process each text string and track the word counts systematically.
4. Validation Logic :
Requirements
1. Inside the Program, use standard string methods to clean and split the text sentences correctly.
2. The Program will accept a list (text_list) containing multiple text strings or paragraphs to evaluate.
3. Run a for loop to process each text string and track the word counts systematically.
4. Validation Logic :
1. Use the split() method to break strings into individual words automatically
by removing whitespaces.
2. Check and handle empty strings safely by setting their total word count value to
zero.
3. Calculate total sentences by tracking punctuation marks like periods, exclamation points,
and question marks.
CHECKLIST
main.py
OUTPUT
โถ Pyodide Console v0.26.0 Ready...
โถ Click the 'Run' button above to execute your Python code.
โถ Your program output or errors will appear here.
โถ Click the 'Run' button above to execute your Python code.
โถ Your program output or errors will appear here.