codebasics / py

Repository to store sample python programs for python learning
6.84k stars 16.76k forks source link

Some changes needed in the logic #255

Open saddarudin opened 7 months ago

saddarudin commented 7 months ago

Hi Sir, I have some suggestions for change in code. I have run your code and some little mistakes like filtering keyword is not properly coded. I have written code which is working fine; Issues are like it suppose keyword with '\n' , keyword contains comma, semi-colon and other special characters see in picture some words are starting with first letter capital and if same word is in all small at other place it counts differently

python
Noplaynolife commented 4 months ago

?