Problem Statement - B04B
Write a method in python to read lines from a text file INDIA.TXT, to find and display the occurrence of the word “India”.
For example:
If the content of the file is
“India is the fastest growing economy.
India is looking for more investments around the globe.
The whole world is looking at India as a great market.
Most of the Indians can foresee the heights that India is
capable of reaching.”
The output should be 4
Solution
CSKC| Created: 9-Jan-2019 | Updated: 10-Jan-2019|CBSE12A-2018