Write a method in python to read lines from a text file INDIA.TXT, to find and display the occurrence of the word “INDIA” or “India”.
For example:
If the content of the file is
INDIA is a famous country all over the world.
Geographically, India is located to the south of Asia continent.
India is a high population country and well protected from all directions naturally.
India is a famous country for its great cultural and traditional values all across the world.
The output should be 4
#education #computerscience #tutorial #computers #python #pythonprogramming #pythontutorial #pythonforbeginners #pythonbeginner