File Handling Based Questions
File Handling Based Questions
file "Data.txt" and count the number of times "my" or "My" occurs
in the file .
3. Write a function filter() that copies all the lines of a text file
sign .
7.Write a Python function that can read a text file and print only
numbers stored in the file on the screen (consider the text file
name as "info.txt").